/*
Theme Name: Manhattan Capital Solutions
Theme URI: https://manhattancapitalsolutions.com
Author: Manhattan Capital Solutions
Description: Bespoke theme for Manhattan Capital Solutions LLC — a private investment fund. Includes editable open positions, application capture, and contact handling. No plugins required.
Version: 1.3.0
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mcs
*/

/* =========================================================
   Manhattan Capital Solutions
   ========================================================= */

:root {
  /* exact Figma design tokens */
  --navy:        #1b2c4f;   /* rgb(27,44,79)  primary navy */
  --navy-deep:   #16233f;   /* hero overlay depth */
  --navy-700:    #1b2c4f;   /* headings on light */
  --gold:        #c28051;   /* rgb(194,128,81) accent */
  --gold-solid-dark: #ac6f43;
  --gold-hero:   #bd8d6b;   /* rgb(189,141,107) hero eyebrow */
  --paper:       #f8f8f6;   /* rgb(248,248,246) off-white */
  --periwinkle:  #c7c8d1;   /* rgb(199,200,209) light section + pillar text */
  --body-grey:   #3a3a4a;   /* rgb(58,58,74)  about body copy */
  --heading-dark:#1a1a2e;   /* rgb(26,26,46)  cta title / footer links */
  --footer-grey: #3a3a52;   /* rgb(58,58,82)  disclaimers / copyright */
  --deep-navy:   #0b1033;   /* rgb(11,16,51)  hairline dividers */

  --line:        rgba(11, 16, 51, 0.18);
  --line-light:  rgba(255, 255, 255, 0.14);
  --ink-60:      #3a3a4a;
  --ink-45:      rgba(27, 44, 79, 0.55);
  --white-70:    #c7c8d1;
  --white-55:    rgba(255, 255, 255, 0.6);

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --maxw: 1440px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset / base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--navy-700);
  background: var(--paper);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 54px);
}

/* ---------- Shared typography ---------- */
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 1.25rem;
  position: relative;
}
.eyebrow::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-top: 1.25rem;
}
.eyebrow--light { color: var(--gold-hero); }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
  font-size: clamp(1.9rem, 3.3vw, 2.75rem);   /* 44px */
}
.section-title--light { color: var(--paper); }

.body-text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--body-grey);
  margin-top: 1.25rem;
  max-width: 600px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 36px;
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  transition: background-color 0.3s var(--ease);
}
.btn--gold {
  background: var(--gold);
  color: #fff;
}
/* simple lighter-orange hover */
.btn--gold:hover { background: #d3986e; }

/* ---------- Text link ---------- */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 40px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--gold);
  position: relative;
  width: fit-content;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.text-link:hover { color: var(--gold); }
.text-link:hover::after { transform: scaleX(1); }
.text-link .arrow { transition: transform 0.4s var(--ease); }
.text-link:hover .arrow { transform: translateX(6px); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease),
              padding 0.4s var(--ease);
  padding-block: 0.4rem;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 108px;
}
.brand-logo { height: 62px; width: auto; transition: height 0.4s var(--ease); }
.brand-logo--dark { display: none; }

.nav-list {
  list-style: none;
  display: flex;
  gap: 40px;
  align-items: center;
}
.nav-link {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  position: relative;
  padding-block: 0.4rem;
  transition: color 0.35s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* scrolled state */
.site-header.scrolled {
  background: rgba(27, 44, 79, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px -18px rgba(0, 0, 0, 0.6);
}
.site-header.scrolled .header-inner { min-height: 82px; }
.site-header.scrolled .brand-logo { height: 52px; }

/* ---------- Hamburger ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 120;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: #fff;
  transition: transform 0.35s var(--ease), opacity 0.3s var(--ease), background 0.35s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(16, 31, 58, 0.98);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
  z-index: 90;   /* below the header (100) so the X stays clickable; covers page content */
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav ul { list-style: none; text-align: center; }
.mobile-nav li { margin: 1.6rem 0; opacity: 0; transform: translateY(14px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.mobile-nav.open li { opacity: 1; transform: none; }
.mobile-nav.open li:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.open li:nth-child(2) { transition-delay: 0.18s; }
.mobile-nav.open li:nth-child(3) { transition-delay: 0.26s; }
.mobile-link {
  font-family: var(--serif);
  font-size: 2rem;
  color: #f3f5f9;
  transition: color 0.3s var(--ease);
}
.mobile-link:hover { color: var(--gold); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0f203f;   /* fills under the shifted image; gradient fades to this */
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/images/hero-1.jpg') calc(50% + 100px) center / cover no-repeat;
  transform: scale(1.04);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  /* left-edge #0f203f gradient blends the shift into the image + overall tint */
  background:
    linear-gradient(90deg, #0f203f 0px, rgba(15, 32, 63, 0.92) 70px, rgba(15, 32, 63, 0) 260px),
    linear-gradient(180deg, rgba(15, 32, 63, 0.42) 0%, rgba(15, 32, 63, 0.40) 55%, rgba(15, 32, 63, 0.55) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 10px;
  padding-bottom: 80px;
  transform: translateY(-40px);   /* nudge hero text up */
}
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--paper);
  font-size: clamp(2.1rem, 4.375vw, 3.5rem);   /* 7/8 of 64px = 56px */
  line-height: 1.12;
  max-width: 700px;
  margin-bottom: 3.25rem;   /* 52px gap to button */
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.hero-inner .eyebrow { color: var(--gold-hero); margin-bottom: 1.75rem; }
.hero-inner .eyebrow::after { display: none; }

/* =========================================================
   ABOUT
   ========================================================= */
.about {
  background: var(--paper);
  padding-block: clamp(70px, 9vw, 120px);   /* 120px */
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 9vw, 133px);
  align-items: start;
}
.about-media {
  position: relative;
  aspect-ratio: 600 / 580;
}
.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.about-badge {
  position: absolute;
  right: -32px; bottom: -30px;   /* hangs below and past the photo's bottom-right corner */
  background: var(--navy);
  color: #fff;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  min-width: 232px;
}
.about-badge-num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
}
.about-badge-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--periwinkle);
  margin-top: 8px;
}

.about-content .section-title { margin-bottom: 0; }

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 28px;
  margin-top: 40px;
}
.stat {
  border-top: 1px solid var(--deep-navy);
  padding-top: 16px;
}
.stat-value {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--navy);
  font-weight: 400;
}
.stat-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);   /* #C28051 */
  margin-top: 6px;
}

/* =========================================================
   PHILOSOPHY
   ========================================================= */
.philosophy {
  background: var(--navy);
  color: #fff;
  padding-block: clamp(70px, 8vw, 120px);
  position: relative;
  overflow: hidden;
}
.philosophy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('assets/images/philosophy.jpeg') top right / auto 100% no-repeat;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}
.philosophy > .container { position: relative; z-index: 1; }
.philosophy-grid {
  display: grid;
  grid-template-columns: minmax(240px, 300px) 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.philosophy-intro .eyebrow { color: var(--gold); }
.philosophy-intro .section-title--light {
  font-size: clamp(1.7rem, 2.6vw, 2.1875rem);   /* 35px */
  line-height: 1.25;
}

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 52px) clamp(28px, 4vw, 60px);
}
.pillar {
  position: relative;
  padding: 2rem 18px 0;   /* small left/right padding (mobile/tablet) */
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background-color: #1b2c4f;   /* default box background */
  transition: background-color 0.4s var(--ease), transform 0.45s var(--ease);
}
/* box lightens on hover */
.pillar:hover {
  background-color: #1f3156;
}
.pillar:hover .pillar-num { color: #e0b483; }
.pillar:hover .pillar-title { color: #fff; }
.pillar-num {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.14em;
  margin-bottom: 20px;
  transition: color 0.4s var(--ease);
}
.pillar-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  color: var(--paper);
  margin-bottom: 16px;
}
.pillar-text {
  font-size: 14px;
  font-weight: 300;
  color: var(--periwinkle);
  line-height: 1.7;
}

/* =========================================================
   CTA
   ========================================================= */
.cta {
  background: var(--periwinkle);   /* rgb(199,200,209) solid */
  padding: 80px 0 60px;
  text-align: center;
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-title {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--heading-dark);   /* rgb(26,26,46) */
  font-size: clamp(1.6rem, 2.9vw, 2.25rem);   /* 36px */
  line-height: 1.3;
  max-width: 1120px;
  margin-bottom: 32px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: linear-gradient(180deg, #c7c8d1 0%, #e3e3e8 100%);   /* top → bottom */
  color: var(--footer-grey);
  padding-block: 48px 2rem;
  border-top: 1px solid rgba(11, 16, 51, 0.15);   /* divider 1 — below the Contact Us button */
}
.footer-grid {
  display: grid;
  grid-template-columns: 253px 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
}
.footer-logo { height: 52px; width: auto; }
.footer-legal p {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--footer-grey);
}
.footer-legal p + p { margin-top: 1.1rem; }

.footer-bottom {
  padding-top: 2.4rem;
  border-top: 1px solid rgba(11, 16, 51, 0.15);   /* divider 1 */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  text-align: center;
}
.footer-nav, .footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}
.footer-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--heading-dark);
  position: relative;
  transition: color 0.3s var(--ease);
}
.footer-nav .footer-link { font-size: 13px; font-weight: 600; }
.footer-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.footer-link:hover { color: var(--gold); }
.footer-link:hover::after { transform: scaleX(1); }
.divider { color: var(--deep-navy); font-size: 13px; opacity: 0.6; }
.copyright {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--footer-grey);
  margin-top: 0.4rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 901px) {
  .mobile-nav { display: none; }

  /* Investment Philosophy — 2x2 with inner divider lines only (cross pattern) */
  .pillars { gap: 0; }
  .pillar {
    border-top: none;
    padding: 40px 30px;
  }
  .pillar:nth-child(1) {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
  .pillar:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
  .pillar:nth-child(3) {
    border-right: 1px solid rgba(255, 255, 255, 0.14);
  }
  .pillar:hover { transform: none; }   /* keep the grid aligned; hover uses tint + accent */
  .pillar::before { display: none; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; height: auto; aspect-ratio: 6 / 5; min-height: 0; }
  .about-badge { padding: 1.3rem 1.6rem; min-width: 160px; right: 0; bottom: 0; }

  .philosophy-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-logo { height: 48px; }
}

@media (max-width: 620px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { padding: 2rem 18px 0; }   /* keep small side padding on mobile */
  .stats { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .hero-inner { padding-top: 130px; }
  .btn { width: 100%; max-width: 320px; }
  .eyebrow::after { margin-inline: auto; }
  .about-badge-num { font-size: 1.9rem; }
}

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

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .hero-bg { transform: none; }
}

/* =========================================================
   CONTACT MODAL
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 16, 33, 0.82);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--paper);
  padding: clamp(32px, 5vw, 56px);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s var(--ease);
}
.modal.open .modal-dialog { transform: none; }
.modal-close {
  position: absolute;
  top: 18px; right: 20px;
  width: 40px; height: 40px;
  border: none;
  background: transparent;
  color: var(--navy);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}
.modal-close:hover { color: var(--gold); }
.modal-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--navy);
  margin-top: 0.4rem;
}
.modal-sub {
  font-size: 14px;
  color: var(--body-grey);
  margin-top: 0.6rem;
  margin-bottom: 1.8rem;
}
.contact-form .field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.contact-form label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.contact-form input,
.contact-form textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--navy);
  background: #fff;
  border: 1px solid rgba(11, 16, 51, 0.18);
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.25s var(--ease);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form textarea { resize: vertical; }
.contact-form .btn { width: 100%; margin-top: 0.6rem; }
.contact-form input:invalid:not(:placeholder-shown) { border-color: #c0563f; }
.modal-success { text-align: center; padding: 2rem 0; }
.modal-success h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.modal-success p { font-size: 14px; color: var(--body-grey); margin-bottom: 1.6rem; }
.modal-success .btn { min-width: 180px; }

/* =========================================================
   LEGAL PAGES
   ========================================================= */
/* non-home pages: match the home header's scrolled state exactly */
.site-header--solid {
  position: sticky;
  top: 0;
  background: rgba(27, 44, 79, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px -18px rgba(0, 0, 0, 0.6);
}
.site-header--solid .header-inner { min-height: 82px; }
.site-header--solid .brand-logo { height: 52px; }
.legal-main {
  background: var(--paper);
  min-height: 60vh;
  padding-block: clamp(56px, 8vw, 100px);
}
.legal-wrap { max-width: 860px; }
.legal-main .eyebrow { color: var(--gold); }
.legal-title {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}
.legal-updated {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-45);
  margin-bottom: 2.6rem;
}
.legal-body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--navy);
  margin: 2.2rem 0 0.8rem;
}
.legal-body p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--body-grey);
  margin-bottom: 1rem;
}
.legal-body ul { margin: 0 0 1rem 1.2rem; }
.legal-body li {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--body-grey);
  margin-bottom: 0.5rem;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 2.6rem;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--gold);
}
.back-link:hover { text-decoration: underline; }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.page-main { background: var(--paper); padding-block: clamp(56px, 8vw, 100px); min-height: 60vh; }
.page-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.page-title {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.6rem;
}
.page-lead { font-size: 15px; font-weight: 300; line-height: 1.7; color: var(--body-grey); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.contact-details { margin-bottom: 2rem; }
.contact-item { margin-bottom: 1.5rem; }
.contact-item .label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.4rem;
}
.contact-item p, .contact-item a {
  font-size: 15px;
  font-weight: 300;
  color: var(--body-grey);
  line-height: 1.6;
}
.contact-item a:hover { color: var(--gold); }
.contact-map {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  filter: grayscale(0.2);
}
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* =========================================================
   CAREERS
   ========================================================= */
.jobs-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.job-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  background: #fff;
  color: inherit;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.job-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.job-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 0.7rem; }
.job-tag {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.job-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.job-desc { font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--body-grey); max-width: 70ch; }
.job-arrow { color: var(--gold); font-size: 22px; flex-shrink: 0; transition: transform 0.3s var(--ease); }
.job-card:hover .job-arrow { transform: translateX(5px); }

/* =========================================================
   POSITION DETAIL + APPLY
   ========================================================= */
.position-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.role-meta {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-45);
  margin-bottom: 2rem;
}
.role-body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--navy);
  margin: 2rem 0 0.7rem;
}
.role-body p { font-size: 15px; font-weight: 300; line-height: 1.75; color: var(--body-grey); margin-bottom: 1rem; }
.role-body ul { margin: 0 0 1rem 1.2rem; }
.role-body li { font-size: 15px; font-weight: 300; line-height: 1.7; color: var(--body-grey); margin-bottom: 0.5rem; }

.apply-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: clamp(28px, 3vw, 40px);
  position: sticky;
  top: 110px;
}
.apply-card h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 1.4rem;
}
.apply-card .field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.apply-card label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.apply-card .optional { color: var(--ink-45); text-transform: none; letter-spacing: 0; font-style: italic; }
.apply-card input,
.apply-card textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--navy);
  background: #fff;
  border: 1px solid rgba(11, 16, 51, 0.18);
  padding: 12px 14px;
  width: 100%;
}
.apply-card input[type="file"] { padding: 10px; font-size: 13px; }
.apply-card input:focus, .apply-card textarea:focus { outline: none; border-color: var(--gold); }
.captcha { display: flex; align-items: center; gap: 12px; }
.captcha .q {
  font-size: 15px;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 10px 14px;
  white-space: nowrap;
}
.captcha input { max-width: 110px; }
.captcha-error { color: #c0563f; font-size: 13px; margin-top: 0.4rem; }
.apply-card .btn { width: 100%; margin-top: 0.4rem; }
.form-success { text-align: center; padding: 1.5rem 0; }
.form-success h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--navy); margin-bottom: 0.5rem; }
.form-success p { font-size: 14px; color: var(--body-grey); }

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
  .position-grid { grid-template-columns: 1fr; }
  .apply-card { position: static; }
  .jobs-list { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 940px;
}
.fact .fact-value {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--navy);
}
.fact .fact-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
}
.about-intro-body { max-width: none; }
.about-intro-body p { font-size: 15px; font-weight: 300; line-height: 1.75; color: var(--body-grey); margin-bottom: 1rem; }

.leadership { margin-top: clamp(48px, 7vw, 88px); }
.leader {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: start;
  margin-bottom: clamp(48px, 7vw, 72px);
}
.leader:last-child { margin-bottom: 0; }
.leader--reverse { grid-template-columns: 1fr 260px; }
.leader--reverse .leader-photo { order: 2; }
.leader--reverse .leader-copy { order: 1; }
.leader-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.leader-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  letter-spacing: 0.04em;
}
.leader-role {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.leader-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--navy);
  margin-bottom: 1.2rem;
}
.leader-bio p { font-size: 15px; font-weight: 300; line-height: 1.75; color: var(--body-grey); margin-bottom: 1rem; }

@media (max-width: 820px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .leader, .leader--reverse { grid-template-columns: 1fr; }
  .leader--reverse .leader-photo,
  .leader--reverse .leader-copy { order: 0; }
  .leader-photo { max-width: 260px; }
}
@media (max-width: 420px) {
  .facts { grid-template-columns: 1fr; }
}


/* =========================================================
   WORDPRESS-SPECIFIC
   ========================================================= */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; word-wrap: normal !important;
}
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.admin-bar .site-header--solid { top: 0; }

.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.legal-body img, .about-intro-body img, .role-body img { height: auto; }
.legal-body a, .about-intro-body a { color: var(--gold); text-decoration: underline; }
.legal-body ol { margin: 0 0 1rem 1.2rem; }
.legal-body ol li { font-size: 15px; font-weight: 300; line-height: 1.75; color: var(--body-grey); margin-bottom: 0.5rem; }

/* Empty-state for the careers list */
.jobs-empty {
  padding: 40px 30px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 15px;
  font-weight: 300;
  color: var(--body-grey);
}

/* =========================================================
   WP MENU MARKUP → original link styling
   ========================================================= */

/* Header menu */
.nav-list { list-style: none; }
.nav-list a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  position: relative;
  display: inline-block;
  padding-block: 0.4rem;
  transition: color 0.35s var(--ease);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-list a:hover { color: #fff; }
.nav-list a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-list .current-menu-item > a { color: #fff; }

/* Mobile menu */
.mobile-nav .mobile-menu { list-style: none; text-align: center; margin: 0; padding: 0; }
.mobile-nav .mobile-menu li {
  margin: 1.6rem 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.mobile-nav.open .mobile-menu li { opacity: 1; transform: none; }
.mobile-nav.open .mobile-menu li:nth-child(1) { transition-delay: 0.10s; }
.mobile-nav.open .mobile-menu li:nth-child(2) { transition-delay: 0.18s; }
.mobile-nav.open .mobile-menu li:nth-child(3) { transition-delay: 0.26s; }
.mobile-nav .mobile-menu a {
  font-family: var(--serif);
  font-size: 2rem;
  color: #f3f5f9;
  transition: color 0.3s var(--ease);
}
.mobile-nav .mobile-menu a:hover { color: var(--gold); }

/* Footer menus */
.footer-nav .footer-menu,
.footer-legal-nav .footer-menu {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}
.footer-nav .footer-menu li,
.footer-legal-nav .footer-menu li { display: flex; align-items: center; gap: 0.9rem; }
.footer-nav .footer-menu li:not(:last-child)::after,
.footer-legal-nav .footer-menu li:not(:last-child)::after {
  content: "|";
  color: var(--line);
  font-size: 0.7rem;
}
.footer-nav .footer-menu a,
.footer-legal-nav .footer-menu a {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--navy-700);
  position: relative;
  transition: color 0.3s var(--ease);
}
.footer-legal-nav .footer-menu a { color: var(--ink-45); }
.footer-nav .footer-menu a::after,
.footer-legal-nav .footer-menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.footer-nav .footer-menu a:hover,
.footer-legal-nav .footer-menu a:hover { color: var(--gold); }
.footer-nav .footer-menu a:hover::after,
.footer-legal-nav .footer-menu a:hover::after { transform: scaleX(1); }
