/* PACE by Noor: shared stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --black: #09090B;
  --surface: #111113;
  --surface-2: #17171A;
  --border: #1E1E22;
  --text: #F5F0E8;
  --muted: #A6A29A;
  --muted-dim: #8A8680;
  --gold: #C6A96A;
  --gold-dim: #9A8050;
  --gold-bright: #D4B87A;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--black);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; }

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

.serif {
  font-family: 'Cormorant Garamond', serif;
}

/* ===== NAV ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 6vw;
  background: rgba(9,9,11,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-nav .logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--text);
  text-transform: uppercase;
}
.site-nav .logo span { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold); }
.nav-cta {
  border: 1px solid var(--gold-dim);
  padding: 10px 20px;
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold);
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold); color: var(--black); }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border); color: var(--text);
  padding: 8px 12px; font-size: 13px; letter-spacing: .05em; text-transform: uppercase;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--black);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open { max-height: 400px; }
  .nav-links li { border-top: 1px solid var(--border); }
  .nav-links a { display: block; padding: 18px 6vw; }
  .nav-toggle { display: block; order: 3; }
  .nav-cta { order: 2; }
}

/* ===== HERO ===== */
.hero {
  padding: 110px 6vw 90px;
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
}
h1, .h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(36px, 5.2vw, 62px);
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 28px;
}
h1 em, .h1 em { color: var(--gold); font-style: normal; }
.lede {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 40px;
}
.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-primary { background: var(--gold); color: var(--black); }
.btn-primary:hover { background: var(--gold-bright); }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold-dim); color: var(--gold); }

/* ===== SECTIONS ===== */
section { padding: 90px 6vw; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-inner.narrow { max-width: 780px; }
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
h2, .h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.2;
  margin-bottom: 24px;
}
h3, .h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.3;
  margin-bottom: 14px;
}
p { margin-bottom: 18px; }
p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }

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

.alt-bg { background: var(--surface); }

/* ===== GRID / CARDS ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: 3px;
}
.card h3 { color: var(--gold); }

/* ===== NUMBERED LIST ===== */
.step-list { counter-reset: step; list-style: none; }
.step-list li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
  margin-bottom: 26px;
}
.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -2px;
  width: 34px; height: 34px;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.step-list strong { color: var(--text); }

/* ===== TABLE ===== */
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
th, td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th {
  color: var(--gold);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
td.muted, th.muted { color: var(--muted); }

/* ===== CASE STUDY CARD ===== */
.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 2px solid var(--gold);
  padding: 30px 34px;
  margin-bottom: 24px;
}
.case-card .role {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.case-card blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--text);
  margin: 16px 0;
  padding-left: 18px;
  border-left: 2px solid var(--border);
}
.case-card .meta-row { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 16px; font-size: 14px; }
.case-card .meta-row div { flex: 1; min-width: 220px; }
.case-card .meta-label { color: var(--gold-dim); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid var(--border); padding: 26px 0; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--gold);
  font-size: 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item .faq-answer { color: var(--muted); margin-top: 16px; max-width: 720px; }

/* ===== STAT ROW ===== */
.stat-row { display: flex; gap: 60px; flex-wrap: wrap; justify-content: center; text-align: center; }
.stat { min-width: 140px; }
.stat .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat .label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 50px 6vw 40px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-links { display: flex; gap: 26px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 12px; color: var(--muted-dim); }

.footer-social { display: flex; gap: 20px; list-style: none; flex-wrap: wrap; }
.footer-social a { font-size: 13px; color: var(--muted); text-decoration: none; }
.footer-social a:hover { color: var(--gold); }

/* ===== BADGE LIST ===== */
.badge-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.badge {
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--muted);
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 18px 6vw 0;
  max-width: var(--max);
  margin: 0 auto;
  font-size: 12px;
  color: var(--muted-dim);
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
