/* MGM Advisory Partners — shared styles */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --bg: #0b0e13;
  --bg-panel: #12161d;
  --bg-panel-border: #262b33;
  --gold: #c9a227;
  --gold-soft: #d8b954;
  --white: #f4f4f0;
  --text-body: #aab2c0;
  --text-body-dim: #7b8493;
  --nav-h: 76px;
  --max-w: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font-family: 'Jost', 'Segoe UI', Arial, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--white);
  font-weight: 700;
  margin: 0 0 .5em;
  line-height: 1.15;
}

p { margin: 0 0 1em; }

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

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

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.eyebrow {
  display: block;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 18px;
}

/* ---------- Nav ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(11, 14, 19, .78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.site-nav .wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0; padding: 0;
}

.nav-links a {
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #d7dae0;
  transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.btn {
  display: inline-block;
  padding: 13px 30px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--gold);
  transition: background .2s, color .2s;
}

.btn-solid {
  background: var(--gold);
  color: #14120a;
}
.btn-solid:hover { background: var(--gold-soft); }

.btn-outline {
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover { background: var(--gold); color: #14120a; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 26px;
  cursor: pointer;
}

/* ---------- Hero (page header) ---------- */
.page-header {
  position: relative;
  padding: calc(var(--nav-h) + 150px) 0 110px;
  background: linear-gradient(100deg, #05060a 0%, #05060a 42%, rgba(6,8,11,.55) 68%, rgba(6,8,11,.15) 100%),
              #05060a;
  overflow: hidden;
}

.page-header.has-photo {
  background-size: cover;
  background-position: right center;
}

.page-header--short { padding: calc(var(--nav-h) + 90px) 0 90px; }

.page-header .content { position: relative; z-index: 2; max-width: 720px; }

.hero-title { font-size: 68px; margin-bottom: 28px; }

.rule-tagline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}
.rule-tagline span {
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.mgm-letter {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.3em;
}

.lede { font-size: 19px; color: #c7cbd3; max-width: 560px; margin-bottom: 40px; }

/* ---------- Sections ---------- */
section { padding: 100px 0; }
.section-tight { padding: 70px 0; }

.divider {
  border: none;
  border-top: 1px solid var(--bg-panel-border);
  margin: 70px 0;
}

.two-col {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
}

.section-label { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 14px; display: block; }

/* ---------- Team ---------- */
.team-member {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  padding: 60px 0;
  border-bottom: 1px solid var(--bg-panel-border);
}
.team-member:last-child { border-bottom: none; }

.team-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border: 1px solid var(--bg-panel-border);
  background: var(--bg-panel);
}

.team-name { font-size: 30px; margin-bottom: 4px; }
.team-role { color: var(--gold-soft); font-size: 15px; margin-bottom: 4px; }
.team-affil { color: var(--text-body-dim); font-size: 14px; margin-bottom: 18px; }

.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--bg-panel-border);
  padding: 8px 14px;
  margin-bottom: 24px;
  transition: border-color .2s, color .2s;
}
.team-linkedin:hover { border-color: var(--gold); color: var(--gold-soft); }

.info-box {
  margin-top: 30px;
  border: 1px solid var(--bg-panel-border);
  background: var(--bg-panel);
  padding: 28px 32px;
}
.info-box ul { list-style: none; margin: 0; padding: 0; }
.info-box li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 15px;
  color: #c3c8d1;
}
.info-box li:last-child { margin-bottom: 0; }
.info-box li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* ---------- Services / cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.card {
  border: 1px solid var(--bg-panel-border);
  background: var(--bg-panel);
  padding: 38px 32px;
}
.card h3 { font-size: 22px; margin-bottom: 14px; }
.card p { font-size: 15px; color: var(--text-body); margin: 0; }

/* ---------- Accordion (What We Do) ---------- */
.accordion { border-top: 1px solid var(--bg-panel-border); }

.acc-item { border-bottom: 1px solid var(--bg-panel-border); }

.acc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 28px 0;
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.acc-head h3 { font-size: 22px; margin: 0; transition: color .2s; }
.acc-head:hover h3 { color: var(--gold-soft); }

.acc-toggle {
  position: relative;
  flex: 0 0 20px;
  width: 20px; height: 20px;
}
.acc-toggle::before, .acc-toggle::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
}
.acc-toggle::before { width: 14px; height: 1px; }
.acc-toggle::after { width: 1px; height: 14px; transition: transform .25s; }
.acc-item.open .acc-toggle::after { transform: translate(-50%, -50%) rotate(90deg) scale(0); }

.acc-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .35s ease, opacity .3s ease;
}
.acc-item.open .acc-body {
  max-height: 420px;
  opacity: 1;
}
.acc-body p { font-size: 16px; color: var(--text-body); margin: 0 0 22px; max-width: 640px; }

.mgm-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: 32px;
}
.mgm-item { font-size: 13px; color: var(--text-body-dim); }
.mgm-label {
  display: block;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .08em;
  margin-bottom: 5px;
}

@media (max-width: 700px) {
  .acc-head h3 { font-size: 19px; }
  .mgm-row { gap: 20px; }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
}

.contact-detail { margin-bottom: 28px; }
.contact-detail .label { display:block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-body-dim); margin-bottom: 6px; }
.contact-detail a, .contact-detail span.value { font-size: 18px; color: var(--white); }
.contact-detail a:hover { color: var(--gold); }

form.contact-form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.field label {
  display: block;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-body-dim);
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  background: var(--bg-panel);
  border: 1px solid var(--bg-panel-border);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  padding: 14px 16px;
  transition: border-color .2s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea { resize: vertical; min-height: 140px; }

.submit-btn {
  align-self: flex-start;
  background: var(--gold);
  color: #14120a;
  border: none;
  padding: 15px 36px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s;
}
.submit-btn:hover { background: var(--gold-soft); }

.form-note {
  font-size: 13px;
  color: var(--text-body-dim);
  margin-top: -8px;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--bg-panel-border);
  padding: 46px 0;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer .brand { font-size: 15px; }
.footer-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.footer-links a { font-size: 13px; color: var(--text-body-dim); letter-spacing: .06em; text-transform: uppercase; }
.footer-links a:hover { color: var(--gold); }
.footer-fine { font-size: 13px; color: var(--text-body-dim); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--bg-panel);
  border-top: 1px solid var(--bg-panel-border);
  border-bottom: 1px solid var(--bg-panel-border);
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 { font-size: 36px; margin-bottom: 22px; }
.cta-band p { color: var(--text-body); max-width: 560px; margin: 0 auto 34px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .two-col, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .team-member { grid-template-columns: 1fr; gap: 30px; }
  .team-photo { max-width: 320px; }
  .hero-title { font-size: 46px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .wrap { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .card-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 38px; }
  section { padding: 70px 0; }
  .page-header { padding: calc(var(--nav-h) + 90px) 0 70px; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
}

/* mobile nav open state */
.site-nav.open .nav-links {
  display: flex;
  position: absolute;
  top: var(--nav-h);
  left: 0; right: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  background: #0b0e13;
  border-bottom: 1px solid var(--bg-panel-border);
}
.site-nav.open .nav-links a,
.site-nav.open .nav-links .btn {
  width: 100%;
  padding: 18px 24px;
  border-bottom: 1px solid var(--bg-panel-border);
}
