/* ============================================================
   INTERNAL PAGE STYLES
   Shared by all pages except index.html
   ============================================================ */


/* ---- Accessibility ---------------------------------------- */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* ---- Eyebrow label --------------------------------------- */

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}


/* ---- Gold divider ---------------------------------------- */

.divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0 28px;
}


/* ---- Section wrapper ------------------------------------- */

.section {
  padding: var(--section-py) 0;
}


/* ---- Internal page hero ---------------------------------- */
/* Dark header section for internal pages                     */

.page-hero {
  position: relative;
  background: #0A0F1C;
  padding: calc(var(--header-h) + 80px) 0 96px;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 25% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 70%),
    linear-gradient(170deg, #0e1425 0%, #0A0F1C 100%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: #ffffff;
  margin-bottom: 28px;
  line-height: 1.15;
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.75);
  max-width: 60ch;
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.25s;
}

.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span    { color: rgba(255, 255, 255, 0.25); }


/* ---- Panels (2-column content layout) -------------------- */

.panels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.panel {
  padding: 40px;
  background: var(--bg-light);
  border-radius: 4px;
}

.panel h3 {
  margin-bottom: 12px;
}

.panel p {
  font-size: 0.92rem;
  color: var(--grey);
  max-width: none;
  margin-bottom: 12px;
}

.panel ul {
  margin-top: 16px;
}

.panel ul li {
  font-size: 0.87rem;
  color: var(--grey);
  padding: 6px 0 6px 16px;
  border-bottom: 1px solid var(--border);
  position: relative;
  line-height: 1.5;
}

.panel ul li:last-child {
  border-bottom: none;
}

.panel ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75em;
  top: 8px;
}


/* ---- Bio layout ------------------------------------------ */

.bio__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}

.bio__sidebar {
  position: sticky;
  top: calc(var(--header-h) + 60px);
}

.bio__photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg-light);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 24px;
}

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

.bio__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bio__contact a {
  font-size: 0.85rem;
  color: var(--grey);
  transition: color var(--ease);
}

.bio__contact a:hover {
  color: var(--navy);
}

.bio__body p {
  max-width: none;
  margin-bottom: 16px;
  color: var(--grey);
}

.bio__body h2 {
  margin-bottom: 12px;
}


/* ---- Timeline -------------------------------------------- */

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline__item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.timeline__item:last-child {
  border-bottom: none;
}

.timeline__year {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  padding-top: 4px;
}

.timeline__content h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.timeline__content p {
  font-size: 0.87rem;
  color: var(--grey);
  line-height: 1.7;
  max-width: none;
}


/* ---- Credentials grid ------------------------------------ */

.credentials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.credentials__item {
  padding: 32px;
  background: var(--bg-light);
  border-top: 3px solid var(--border);
  transition: border-top-color var(--ease);
}

.credentials__item:hover {
  border-top-color: var(--gold);
}

.credentials__item h4 {
  margin-top: 8px;
  margin-bottom: 8px;
  color: var(--navy);
}

.credentials__item p {
  font-size: 0.87rem;
  color: var(--grey);
  max-width: none;
}


/* ---- Highlight box --------------------------------------- */

.highlight-box {
  border-left: 3px solid var(--gold);
  padding: 24px 28px;
  background: var(--bg-light);
  margin: 32px 0;
}

.highlight-box p {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.75;
  max-width: none;
}

.highlight-box strong {
  color: var(--navy);
}


/* ---- Fact grid ------------------------------------------- */

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin: 48px 0;
}

.fact-card {
  background: var(--bg-light);
  padding: 32px 28px;
  border-top: 3px solid var(--border);
  transition: border-top-color 0.3s;
}

.fact-card:hover {
  border-top-color: var(--gold);
}

.fact-card strong {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--navy);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.fact-card span {
  font-size: 0.78rem;
  color: var(--grey);
}


/* ---- Pillar detail block ---------------------------------- */

.pillar-block { margin-bottom: 2px; }

.pillar-block__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 0;
}

.pillar-block:nth-child(even) .pillar-block__inner {
  direction: rtl;
}

.pillar-block:nth-child(even) .pillar-block__label,
.pillar-block:nth-child(even) .pillar-block__detail {
  direction: ltr;
}

.pillar-block__label {
  background: var(--navy);
  padding: 64px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pillar-block__label .eyebrow { color: var(--gold); margin-bottom: 12px; }
.pillar-block__label h2 { color: var(--bg-white); font-size: 2rem; margin-bottom: 16px; }
.pillar-block__label p  { color: rgba(255,255,255,0.6); font-size: 0.9rem; max-width: 300px; line-height: 1.7; }

.pillar-block__detail {
  background: var(--bg-light);
  padding: 64px 52px;
}

.pillar-block__detail h4 {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.pillar-block__items  { display: flex; flex-direction: column; gap: 16px; }
.pillar-block__item   { display: flex; gap: 16px; align-items: flex-start; }

.pillar-block__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 8px;
  flex-shrink: 0;
}

.pillar-block__item-text {
  font-size: 0.87rem;
  color: var(--grey);
  line-height: 1.7;
}

.pillar-block__item-text strong {
  color: var(--slate);
  display: block;
  margin-bottom: 2px;
}


/* ---- Case evidence --------------------------------------- */

.case-evidence {
  background: var(--navy);
  padding: 80px 0;
}

.case-evidence h3 { color: var(--bg-white); margin-bottom: 32px; }

.case-evidence__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
}

.case-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 36px 32px;
}

.case-card__co {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.case-card h4 { color: var(--bg-white); font-size: 1rem; margin-bottom: 12px; }
.case-card p  { color: rgba(255,255,255,0.55); font-size: 0.84rem; line-height: 1.65; max-width: none; }


/* ---- Process steps --------------------------------------- */

.process { display: flex; flex-direction: column; gap: 0; }

.process__step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.process__step:last-child { border-bottom: none; }

.process__num {
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}

.process__body h4 { font-size: 1rem; margin-bottom: 8px; }
.process__body p  { font-size: 0.87rem; color: var(--grey); line-height: 1.65; max-width: none; }


/* ---- Insights placeholder -------------------------------- */

.insights { background: var(--bg-white); }

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.insight-card {
  border: 1px solid var(--border);
  padding: 36px 32px;
  border-radius: 2px;
}

.insight-card__tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.insight-card h4 { font-size: 0.95rem; margin-bottom: 10px; }
.insight-card p  { font-size: 0.82rem; color: var(--grey); line-height: 1.65; max-width: none; }

.insight-card__placeholder {
  background: var(--bg-light);
  height: 140px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-light);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* ---- Button BEM variants (legacy internal page markup) --- */

.btn--primary {
  background: var(--gold);
  color: var(--bg-white);
  border-color: var(--gold);
}

.btn--primary:hover {
  background: #9a7a48;
  border-color: #9a7a48;
}

.btn--outline {
  background: transparent;
  color: var(--bg-white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--outline-gold {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gold);
}

.btn--outline-gold:hover {
  background: var(--gold);
  color: var(--bg-white);
}


/* ---- Section intro --------------------------------------- */

.section-intro {
  max-width: 900px;
  margin-bottom: 64px;
}

.section-intro p {
  margin-top: 16px;
  color: var(--grey);
  max-width: 860px;
}


/* ---- Criteria table -------------------------------------- */

.criteria__table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 0;
}

.criteria__table th,
.criteria__table td {
  font-family: var(--font-body);
  font-size: 0.87rem;
  color: var(--grey);
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.criteria__table th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--bg-light);
}

.criteria__table td:first-child {
  font-weight: 600;
  color: var(--navy);
  min-width: 140px;
}

.criteria__table tbody tr:last-child td {
  border-bottom: none;
}

.criteria__table tbody tr:hover {
  background: var(--bg-light);
}


/* ---- Contact page (minimal) ------------------------------ */

.contact-minimal {
  padding: calc(var(--header-h) + 72px) 0 96px;
  background: var(--bg-light);
}

.contact-minimal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* -- Left: Info -- */

.contact-minimal__info {
  padding-top: 8px;
}

.contact-minimal__title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 400;
  font-style: italic;
  color: var(--navy);
  margin-bottom: 48px;
  line-height: 1.15;
}

.contact-minimal__block {
  margin-bottom: 28px;
}

.contact-minimal__label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--grey);
  margin-bottom: 4px;
}

.contact-minimal__value {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.65;
  transition: color 0.25s;
}

a.contact-minimal__value:hover {
  color: var(--gold);
}

/* -- Right: Form -- */

.contact-minimal__form-wrap {
  padding-top: 8px;
}

.contact-minimal__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-minimal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-minimal__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-minimal__field label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy);
}

.contact-minimal__optional {
  font-weight: 400;
  color: var(--grey);
  font-size: 0.78rem;
}

.contact-minimal__field input,
.contact-minimal__field textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--bg-white);
  border: none;
  padding: 14px 18px;
  border-radius: 4px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: box-shadow 0.25s;
}

.contact-minimal__field input:focus,
.contact-minimal__field textarea:focus {
  box-shadow: 0 0 0 2px rgba(176, 141, 87, 0.3);
}

.contact-minimal__field input::placeholder,
.contact-minimal__field textarea::placeholder {
  color: rgba(100, 116, 139, 0.4);
  font-weight: 400;
}

.contact-minimal__field textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.65;
}

.contact-minimal__submit {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bg-white);
  background: var(--navy);
  border: none;
  padding: 18px 40px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.25s;
  width: 100%;
  text-align: center;
}

.contact-minimal__submit:hover {
  background: #0B1121;
}

/* ---- Legal pages (Privacy & Cookie Policy) --------------- */

.legal-page {
  padding: 56px 0 96px;
}

.legal-page + .site-footer { margin-top: 0; }

/* Compact hero for legal pages */
.page-hero--compact {
  padding-top: calc(var(--header-h) + 28px);
  padding-bottom: 40px;
}

.page-hero--compact h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.legal-content {
  max-width: 100%;
}

.legal-intro {
  font-size: 0.95rem;
  color: var(--grey);
  line-height: 1.8;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 40px;
  margin-bottom: 14px;
}

.legal-section-title {
  font-size: 1.6rem !important;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}

.legal-content p {
  font-size: 0.88rem;
  color: var(--grey);
  line-height: 1.75;
  margin-bottom: 12px;
  max-width: none;
}

.legal-content ul {
  margin: 8px 0 16px;
  padding-left: 0;
}

.legal-content ul li {
  font-size: 0.86rem;
  color: var(--grey);
  line-height: 1.7;
  padding: 6px 0 6px 20px;
  position: relative;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.legal-content ul li strong {
  color: var(--navy);
}

.legal-content a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.25s;
}

.legal-content a:hover {
  color: var(--navy);
}

.legal-content code {
  font-size: 0.82rem;
  background: var(--bg-light);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--navy);
}

.legal-divider {
  height: 1px;
  background: var(--border);
  margin: 56px 0 48px;
}

.legal-updated {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--grey);
  font-style: italic;
}


/* -- Btn base (used elsewhere) -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  text-decoration: none;
}


/* ---- Responsive ------------------------------------------ */

@media (max-width: 1024px) {
  .contact-minimal__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .bio__inner {
    grid-template-columns: 1fr;
  }

  .bio__sidebar {
    position: static;
  }

  .bio__photo {
    aspect-ratio: 16/9;
    max-height: 380px;
  }

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

  .pillar-block__inner {
    grid-template-columns: 1fr;
  }

  .pillar-block:nth-child(even) .pillar-block__inner {
    direction: ltr;
  }

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

  .case-evidence__grid {
    grid-template-columns: 1fr;
  }

  .insights-grid {
    grid-template-columns: 1fr 1fr;
  }

  .panels {
    grid-template-columns: 1fr;
  }
}

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

  .contact-minimal__title {
    font-size: 2rem;
    margin-bottom: 32px;
  }

  .timeline__item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .credentials__grid {
    grid-template-columns: 1fr;
  }

  .fact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }

  .pillar-block__label,
  .pillar-block__detail {
    padding: 48px 28px;
  }
}
