*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0a0a;
  --bg-raised: #101012;
  --border: #1c1c1e;
  --input-bg: #141416;
  --input-border: #252528;
  --text: #ffffff;
  --text-body: #b8b8b8;
  --text-mid: #8a8a8a;
  --text-dim: #5a5a5a;
  --accent: #c9a94e;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 900px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

html {
  scroll-padding-top: 80px;
}

body {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(201, 169, 78, 0.12);
  color: var(--text);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Nav ── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease);
}

.nav.scrolled {
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-wordmark {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--text);
  text-decoration: none;
}

.nav-cta {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 9px 20px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  text-decoration: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--bg);
}

/* ── Hero ── */

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 0 140px;
  text-align: center;
  position: relative;
  background: var(--bg) url('hero.jpg') center center / cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.78);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 64px;
  opacity: 0;
  transform: translateY(12px);
  animation: reveal 0.9s var(--ease) 0.15s forwards;
}

.hero-sub {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 520px;
  margin: 0 auto 48px;
  opacity: 0;
  transform: translateY(12px);
  animation: reveal 0.9s var(--ease) 0.4s forwards;
}

.hero-tagline {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--text-mid);
  margin: 0 auto 48px;
  opacity: 0;
  transform: translateY(12px);
  animation: reveal 0.9s var(--ease) 0.55s forwards;
}

.hero .btn-outline {
  opacity: 0;
  animation: reveal 0.8s var(--ease) 0.75s forwards;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Outline Button ── */

.btn-outline {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  padding: 12px 28px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--bg);
}

/* ── Sections ── */

.section {
  padding: 96px 0;
}

.section-short {
  padding: 72px 0;
}

.section-raised {
  background: var(--bg-raised);
}

.section p {
  margin-bottom: 28px;
}

.section p:last-child,
.section p:last-of-type {
  margin-bottom: 0;
}

.section-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 36px;
}

.section-title {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 36px;
}

.sub-title {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--text);
  margin-top: 48px;
  margin-bottom: 16px;
}

.sub-title:first-of-type {
  margin-top: 0;
}

.section-intro {
  color: var(--text-mid);
  font-size: 16px;
  margin-bottom: 40px;
}

.aside {
  margin-top: 40px;
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  color: var(--text-mid);
}

/* ── Assessment Domain Accordions ── */

.accordion {
  margin-top: 8px;
}

.acc-item {
  border-top: 1px solid var(--border);
}

.acc-item:last-child {
  border-bottom: 1px solid var(--border);
}

.acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 0;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color 0.3s var(--ease);
}

.acc-trigger::-webkit-details-marker {
  display: none;
}

.acc-trigger::after {
  content: '+';
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 300;
  color: var(--text-dim);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 24px;
}

.acc-item[open] .acc-trigger::after {
  content: '−';
  color: var(--accent);
}

.acc-item[open] .acc-trigger {
  color: var(--text);
}

.acc-body {
  padding: 0 0 24px;
}

.acc-body p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
  max-width: 720px;
  margin-bottom: 0;
}

/* ── Outcome Accordions ── */

.outcomes {
  margin-top: 8px;
}

.outcome-item {
  border-top: 1px solid var(--border);
}

.outcome-item:last-child {
  border-bottom: 1px solid var(--border);
}

.outcome-trigger {
  display: flex;
  align-items: baseline;
  gap: 20px;
  width: 100%;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  transition: opacity 0.3s var(--ease);
}

.outcome-trigger::-webkit-details-marker {
  display: none;
}

.outcome-sector {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--text);
  flex-shrink: 0;
}

.outcome-context {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.3px;
}

.outcome-item[open] .outcome-context {
  color: var(--text-mid);
}

.outcome-body {
  padding: 0 0 28px;
}

.outcome-body p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body);
  max-width: 720px;
  margin-bottom: 0;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── Form ── */

.form-intro {
  color: var(--text-mid);
  font-size: 15px;
  margin-bottom: 48px;
}

.qual-form {
  max-width: 520px;
}

.field {
  margin-bottom: 28px;
}

.field label {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 10px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  padding: 14px 16px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--text);
  transition: border-color 0.3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-mid);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #333;
}

.field input.invalid,
.field select.invalid,
.field textarea.invalid {
  border-color: #5a2a2a;
}

.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%235a5a5a' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.field textarea {
  resize: vertical;
  min-height: 88px;
}

.btn-submit {
  margin-top: 12px;
  padding: 13px 40px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ── Research Promo ── */

.research-promo {
  text-align: center;
}

.research-prompt {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--text-mid);
  margin-bottom: 24px;
}

/* ── Article Page ── */

.article-header {
  padding: 160px 0 64px;
  text-align: center;
}

.article-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.article-title {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
  max-width: 700px;
  margin: 0 auto;
}

.article-body {
  padding: 0 0 96px;
}

.article-body p {
  margin-bottom: 28px;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.article-footer {
  padding: 48px 0 96px;
  text-align: center;
}

.article-footer-line {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .article-header {
    padding: 120px 0 48px;
  }

  .article-title {
    font-size: 28px;
  }

  .article-body {
    padding: 0 0 64px;
  }

  .article-footer {
    padding: 40px 0 64px;
  }
}

@media (max-width: 480px) {
  .article-title {
    font-size: 24px;
  }
}

/* ── Footer ── */

.footer {
  padding: 64px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 64px;
  text-align: center;
}

.footer-wordmark {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--text-mid);
}

.footer-email {
  font-size: 14px;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.footer-email:hover {
  color: var(--text-body);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ── Back to Top ── */

.btt {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  color: var(--text-dim);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  z-index: 90;
}

.btt.visible {
  opacity: 1;
  visibility: visible;
}

.btt:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ── Fade-in ── */

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 22px;
  }

  .nav-inner {
    height: 56px;
    padding: 0 22px;
  }

  .nav-wordmark {
    font-size: 16px;
  }

  .nav-cta {
    font-size: 12px;
    padding: 8px 14px;
  }

  .hero {
    padding: 120px 0 96px;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero-sub {
    font-size: 17px;
    margin-bottom: 40px;
  }

  .section {
    padding: 64px 0;
  }

  .section-short {
    padding: 52px 0;
  }

  .section-title {
    font-size: 26px;
    margin-bottom: 28px;
  }

  .sub-title {
    font-size: 19px;
    margin-top: 40px;
  }

  .acc-trigger {
    font-size: 15px;
    padding: 18px 0;
  }

  .outcome-trigger {
    flex-direction: column;
    gap: 4px;
    padding: 20px 0;
  }

  .outcome-sector {
    font-size: 17px;
  }

  .outcome-context {
    font-size: 13px;
  }

  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
    padding: 14px;
    min-height: 48px;
  }

  .btn-submit {
    width: 100%;
    text-align: center;
    padding: 15px;
  }

  .btt {
    bottom: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
  }

  .footer-inner {
    padding-top: 48px;
  }
}

@media (max-width: 480px) {
  .hero-sub {
    font-size: 16px;
  }

  .section-title {
    font-size: 24px;
  }

  .sub-title {
    font-size: 18px;
  }
}

@media print {
  .nav, .btn-outline { display: none; }
  body { background: #fff; color: #222; }
  .hero { min-height: auto; padding: 40px 0; }
  .hero::before { display: none; }
  .hero-label { color: #000; }
  .hero-sub, .section p { color: #444; }
  .section, .section-short { padding: 20px 0; }
  .divider { border-color: #ddd; }
}
