/* =========================================================
   Dalmagne Performance — Global Stylesheet
   ========================================================= */

/* --- Google Fonts Import --- */
@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');

/* --- Custom Properties --- */
:root {
  --charcoal: #1E1E1E;
  --gold: #C9A96E;
  --sand: #E8DFD0;
  --ivory: #F7F4EF;
  --white: #FFFFFF;
  --charcoal-80: rgba(30,30,30,0.8);
  --charcoal-60: rgba(30,30,30,0.6);
  --gold-light: rgba(201,169,110,0.15);

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  --radius: 2px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --section-pad: 100px 40px;
  --section-pad-sm: 60px 24px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* --- Typography Scale --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p { max-width: 68ch; }

.lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  color: var(--charcoal-60);
  max-width: 70ch;
}

/* --- Layout Utilities --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section { padding: var(--section-pad); }
.section--sand { background: var(--sand); }
.section--charcoal { background: var(--charcoal); color: var(--ivory); }
.section--ivory { background: var(--ivory); }
.section--white { background: var(--white); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-ivory { color: var(--ivory); }
.text-sand { color: var(--sand); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* --- Dividers --- */
.divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 24px 0;
}
.divider--center { margin: 24px auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
}
.btn-primary:hover {
  background: #b8915a;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}
.btn-outline:hover {
  background: var(--charcoal);
  color: var(--ivory);
}

.btn-outline-light {
  background: transparent;
  color: var(--ivory);
  border: 1.5px solid var(--gold);
}
.btn-outline-light:hover {
  background: var(--gold);
  color: var(--charcoal);
}

.btn-text {
  padding: 0;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.btn-text:hover { border-bottom-color: var(--gold); }
.btn-text--dark { color: var(--charcoal); }

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0 40px;
}

.nav.transparent { background: transparent; }
.nav.solid {
  background: var(--charcoal);
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}
.nav__logo-main {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: 0.02em;
}
.nav__logo-sub {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,244,239,0.85);
  transition: color var(--transition);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav__link:hover { color: var(--ivory); }
.nav__link:hover::after { width: 100%; }
.nav__link.active::after { width: 100%; }

.nav__cta {
  margin-left: 24px;
  padding: 10px 22px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--charcoal);
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav__cta:hover { background: #b8915a; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ivory);
  transition: var(--transition);
}

.nav__mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.nav__mobile-menu.open { display: flex; }
.nav__mobile-menu .nav__link {
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: var(--ivory);
}
.nav__mobile-close {
  position: absolute;
  top: 24px;
  right: 40px;
  font-size: 1.5rem;
  color: var(--ivory);
  cursor: pointer;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 40%, #2a2320 100%);
  z-index: 0;
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30,30,30,0.9) 0%, rgba(30,30,30,0.4) 60%, transparent 100%);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px 40px 80px;
  max-width: 720px;
  margin-left: 0;
  padding-left: max(40px, calc((100vw - var(--max-width)) / 2 + 40px));
}

.hero__tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.15;
  margin-bottom: 28px;
  max-width: 16ch;
}

.hero__title em { font-style: italic; color: var(--gold); }

.hero__sub {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 300;
  color: rgba(232,223,208,0.85);
  line-height: 1.75;
  max-width: 55ch;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: max(40px, calc((100vw - var(--max-width)) / 2 + 40px));
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(247,244,239,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero__scroll::before {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: var(--gold);
  opacity: 0.6;
}

/* =========================================================
   PAGE HEADER (inner pages)
   ========================================================= */
.page-header {
  background: var(--charcoal);
  padding: 140px 40px 80px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: transparent;
  pointer-events: none;
}
.page-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-header__tag {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.page-header h1 {
  color: var(--ivory);
  font-weight: 300;
  max-width: 14ch;
  margin-bottom: 20px;
}
.page-header p {
  color: rgba(232,223,208,0.8);
  font-size: 1.1rem;
  font-weight: 300;
  max-width: 60ch;
}

/* =========================================================
   THE PROBLEM SECTION
   ========================================================= */
.problem-section {
  background: var(--sand);
  padding: 80px 40px;
}
.problem-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.problem-section h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 300;
  margin-bottom: 28px;
  max-width: 22ch;
}
.problem-section p { color: var(--charcoal-60); font-size: 1.05rem; }

/* =========================================================
   VALUE PROP STRIP
   ========================================================= */
.value-strip {
  background: var(--ivory);
  padding: 80px 40px;
}
.value-strip__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.value-strip__header {
  text-align: center;
  margin-bottom: 60px;
}
.value-card {
  padding: 40px 32px;
  background: var(--white);
  border-top: 2px solid var(--gold);
  position: relative;
}
.value-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--gold);
}
.value-card h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  margin-bottom: 12px;
  font-weight: 500;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .value-card h4 { white-space: normal; }
}
.value-card p {
  font-size: 0.9rem;
  color: var(--charcoal-60);
  line-height: 1.7;
  max-width: 100%;
}

/* =========================================================
   SERVICE CARDS
   ========================================================= */
.services-list { padding: 80px 40px; background: var(--ivory); }
.services-list__inner { max-width: var(--max-width); margin: 0 auto; }

.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 2px;
  min-height: 380px;
  overflow: hidden;
}
.service-card--reverse { direction: rtl; }
.service-card--reverse > * { direction: ltr; }

.service-card__image {
  background: var(--sand);
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.service-card__image-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card__image-inner { transform: scale(1.04); }

.service-card__content {
  padding: 60px 52px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-card__number {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--sand);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 16px;
}
.service-card h3 { font-size: 1.6rem; margin-bottom: 16px; font-weight: 400; }
.service-card p { font-size: 0.95rem; color: var(--charcoal-60); margin-bottom: 24px; line-height: 1.75; }

/* =========================================================
   PRISM BLOCK
   ========================================================= */
.prism-block {
  background: var(--charcoal);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}
.prism-block::before {
  content: 'PRISM';
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 20rem;
  color: rgba(201,169,110,0.04);
  font-weight: 600;
  pointer-events: none;
  line-height: 1;
}
.prism-block__inner { max-width: var(--max-width); margin: 0 auto; position: relative; z-index: 1; }
.prism-block__header { margin-bottom: 64px; }
.prism-block__header h2 { color: var(--ivory); font-weight: 300; margin-bottom: 16px; }
.prism-block__header p { color: rgba(232,223,208,0.7); max-width: 65ch; font-size: 1.05rem; }

.prism-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(201,169,110,0.2);
}
.prism-pillar {
  background: var(--charcoal);
  padding: 40px 32px;
  position: relative;
  transition: background var(--transition);
}
.prism-pillar:hover { background: rgba(201,169,110,0.08); }
.prism-pillar__letter {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
  font-weight: 300;
}
.prism-pillar__name {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}
.prism-pillar p { font-size: 0.9rem; color: rgba(232,223,208,0.7); line-height: 1.7; max-width: 100%; }

.prism-cta { margin-top: 48px; }

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust-strip {
  background: var(--sand);
  padding: 48px 40px;
  border-top: 1px solid rgba(30,30,30,0.1);
}
.trust-strip__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.trust-strip__label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal-60);
  margin-bottom: 24px;
  text-align: center;
}
.trust-strip__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--charcoal-60);
  letter-spacing: 0.05em;
  font-style: italic;
}

/* =========================================================
   PERSPECTIVES / BLOG
   ========================================================= */
.posts-section { padding: 80px 40px; }
.posts-section__inner { max-width: var(--max-width); margin: 0 auto; }
.posts-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 48px;
}

.post-card {
  background: var(--white);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(30,30,30,0.1);
}
.post-card__image {
  aspect-ratio: 16/9;
  background: var(--sand);
  overflow: hidden;
  position: relative;
}
.post-card__image-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.post-card:hover .post-card__image-inner { transform: scale(1.04); }
.post-card__body { padding: 32px; }
.post-card__category {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.post-card h3 { font-size: 1.2rem; margin-bottom: 12px; line-height: 1.4; }
.post-card p { font-size: 0.9rem; color: var(--charcoal-60); line-height: 1.7; margin-bottom: 24px; max-width: 100%; }
.post-card__meta { font-size: 0.8rem; color: var(--charcoal-60); }

/* =========================================================
   CLOSING CTA SECTION
   ========================================================= */
.cta-section {
  background: var(--charcoal);
  padding: 100px 40px;
  text-align: center;
}
.cta-section h2 { color: var(--ivory); font-weight: 300; margin-bottom: 24px; }
.cta-section p { color: rgba(232,223,208,0.7); max-width: 60ch; margin: 0 auto 40px; font-size: 1.05rem; }
.cta-section .btn { margin: 0 8px; }

/* =========================================================
   FORMS
   ========================================================= */
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--charcoal);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid rgba(30,30,30,0.2);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 0.95rem;
  color: var(--charcoal);
  transition: border-color var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  cursor: pointer;
}
.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--charcoal-60);
  margin-top: 8px;
}
.form-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); flex-shrink: 0; }

/* =========================================================
   DISCOVERY PAGE
   ========================================================= */
.discovery-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}
.discovery-step__number {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--gold);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 16px;
}
.discovery-step h4 { font-size: 1.1rem; margin-bottom: 8px; }
.discovery-step p { font-size: 0.9rem; color: var(--charcoal-60); max-width: 100%; }

.calendly-placeholder {
  background: var(--sand);
  border: 2px dashed rgba(201,169,110,0.5);
  padding: 60px 40px;
  text-align: center;
  border-radius: var(--radius);
  margin-top: 32px;
}
.calendly-placeholder p { margin: 0 auto 20px; color: var(--charcoal-60); font-style: italic; }

/* =========================================================
   FAQ PAGE
   ========================================================= */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(30,30,30,0.1);
  padding: 24px 0;
}
.faq-question {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  padding: 4px 0;
}
.faq-question h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
}
.faq-question__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform var(--transition);
}
.faq-item.open .faq-question__icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding-top: 16px;
  color: var(--charcoal-60);
  font-size: 0.95rem;
  line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

/* =========================================================
   GLOSSARY PAGE
   ========================================================= */
.glossary-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}
.glossary-nav a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(30,30,30,0.2);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
  border-radius: var(--radius);
}
.glossary-nav a:hover { background: var(--gold); color: var(--charcoal); border-color: var(--gold); }

.glossary-section { margin-bottom: 48px; }
.glossary-section__letter {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 300;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sand);
}
.glossary-term {
  margin-bottom: 32px;
  padding-left: 20px;
  border-left: 2px solid var(--sand);
}
.glossary-term h4 { font-size: 1.1rem; margin-bottom: 8px; }
.glossary-term p { font-size: 0.9rem; color: var(--charcoal-60); max-width: 75ch; }

/* =========================================================
   CASE STUDIES
   ========================================================= */
.case-study-card {
  background: var(--white);
  padding: 48px;
  margin-bottom: 2px;
  border-left: 4px solid var(--gold);
}
.case-study-card__tag {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.case-study-card h3 { font-size: 1.5rem; margin-bottom: 24px; }
.case-study-card__sections { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.case-study-card__section-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal-60);
  margin-bottom: 8px;
  display: block;
}
.case-study-card__section p { font-size: 0.9rem; color: var(--charcoal); max-width: 100%; }
.case-study-card__quote {
  background: var(--sand);
  padding: 24px 32px;
  border-left: 3px solid var(--gold);
  font-style: italic;
  font-size: 1rem;
  color: var(--charcoal-60);
}
.case-study-card__quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 0.8rem; }

/* =========================================================
   INDUSTRY / REGION PAGES
   ========================================================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(30,30,30,0.05);
}
.info-card {
  background: var(--white);
  padding: 48px 40px;
  transition: background var(--transition);
}
.info-card:hover { background: var(--ivory); }
.info-card h3 { font-size: 1.3rem; margin-bottom: 16px; }
.info-card p { font-size: 0.9rem; color: var(--charcoal-60); max-width: 100%; line-height: 1.75; }

.page-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.page-link-card {
  background: var(--white);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: background var(--transition);
  border-left: 4px solid transparent;
}
.page-link-card:hover {
  background: var(--ivory);
  border-left-color: var(--gold);
}
.page-link-card h4 { font-size: 1.2rem; margin-bottom: 6px; }
.page-link-card p { font-size: 0.85rem; color: var(--charcoal-60); max-width: 100%; }
.page-link-card__arrow { color: var(--gold); font-size: 1.5rem; flex-shrink: 0; }

/* =========================================================
   RESOURCES PAGE
   ========================================================= */
.resource-card {
  background: var(--white);
  padding: 40px;
  border-top: 3px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
}
.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(30,30,30,0.08);
}
.resource-card__icon {
  width: 48px;
  height: 48px;
  background: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
}
.resource-card h4 { font-size: 1.1rem; margin-bottom: 12px; }
.resource-card p { font-size: 0.9rem; color: var(--charcoal-60); max-width: 100%; margin-bottom: 24px; }
.resource-form { display: flex; gap: 8px; }
.resource-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid rgba(30,30,30,0.2);
  border-radius: var(--radius);
  font-size: 0.9rem;
}
.resource-form input:focus { outline: none; border-color: var(--gold); }
.resource-form button {
  padding: 12px 20px;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background var(--transition);
}
.resource-form button:hover { background: #b8915a; }

/* =========================================================
   VALUES
   ========================================================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(30,30,30,0.05);
}
.value-block {
  background: var(--ivory);
  padding: 48px 40px;
}
.value-block h4 { font-size: 1.3rem; margin-bottom: 12px; color: var(--charcoal); }
.value-block p { font-size: 0.95rem; color: var(--charcoal-60); max-width: 100%; }
.value-block__letter {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--gold);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 12px;
}

/* =========================================================
   CAREERS
   ========================================================= */
.qualities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.quality-item {
  padding: 32px;
  background: var(--white);
  border-top: 2px solid var(--gold);
}
.quality-item h4 { font-size: 1.1rem; margin-bottom: 10px; }
.quality-item p { font-size: 0.9rem; color: var(--charcoal-60); max-width: 100%; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--charcoal);
  padding: 80px 40px 40px;
  color: rgba(247,244,239,0.7);
}
.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(247,244,239,0.1);
  margin-bottom: 40px;
}
.footer__logo {
  display: block;
  margin-bottom: 20px;
}
.footer__logo-main {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--ivory);
  display: block;
  line-height: 1;
}
.footer__logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-top: 4px;
}
.footer__tagline {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer__col-title {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 20px;
  display: block;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: 0.875rem;
  color: rgba(247,244,239,0.6);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--gold); }

.footer__contact-item {
  display: flex;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(247,244,239,0.6);
  margin-bottom: 12px;
}
.footer__contact-item svg { flex-shrink: 0; width: 16px; height: 16px; color: var(--gold); margin-top: 2px; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__copyright { font-size: 0.8rem; color: rgba(247,244,239,0.4); }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { font-size: 0.8rem; color: rgba(247,244,239,0.4); transition: color var(--transition); }
.footer__legal a:hover { color: var(--gold); }
.footer__lang { display: flex; gap: 8px; align-items: center; }
.footer__lang a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(247,244,239,0.4);
  transition: color var(--transition);
}
.footer__lang a:hover, .footer__lang a.active { color: var(--gold); }
.footer__lang span { color: rgba(247,244,239,0.2); }

/* =========================================================
   FILTER BAR (Perspectives)
   ========================================================= */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.filter-bar::-webkit-scrollbar { height: 3px; }
.filter-bar::-webkit-scrollbar-track { background: transparent; }
.filter-bar::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }
.filter-bar__label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal-60);
  margin-right: 4px;
  flex-shrink: 0;
}
.filter-btn {
  display: inline-block;
  padding: 7px 18px;
  background: var(--white);
  color: var(--charcoal);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid rgba(30,30,30,0.15);
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
}
.filter-btn:hover { background: var(--sand); }
.filter-btn--active { background: var(--charcoal); color: var(--ivory); border-color: var(--charcoal); }

/* =========================================================
   CHECKBOX GRID (Discovery form)
   ========================================================= */
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.checkbox-grid .checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  cursor: pointer;
  padding: 10px 14px;
  background: var(--white);
  border: 1.5px solid rgba(30,30,30,0.12);
  border-radius: var(--radius);
  transition: border-color var(--transition);
  line-height: 1.4;
}
.checkbox-grid .checkbox-item:hover { border-color: var(--gold); }
.checkbox-grid .checkbox-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}

/* =========================================================
   ARTICLE PAGES (Perspectives sub-pages)
   ========================================================= */
.article-header {
  background: var(--charcoal);
  padding: 140px 40px 80px;
  position: relative;
  overflow: hidden;
}
.article-header::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  background: transparent;
  pointer-events: none;
}
.article-header__inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.article-header__tag { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: block; }
.article-header h1 { color: var(--ivory); font-weight: 300; max-width: 22ch; margin-bottom: 20px; font-size: clamp(1.9rem, 3.5vw, 3rem); }
.article-header__meta { color: rgba(232,223,208,0.6); font-size: 0.9rem; }

.article-body { background: var(--ivory); padding: 80px 40px; }
.article-body__inner { max-width: 760px; margin: 0 auto; }
.article-body p { font-size: 1.05rem; line-height: 1.85; color: var(--charcoal); margin-bottom: 28px; max-width: 100%; }
.article-body h2 { font-size: 1.6rem; margin: 48px 0 20px; }
.article-body h3 { font-size: 1.3rem; margin: 36px 0 16px; }
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 20px 28px;
  background: var(--sand);
  margin: 36px 0;
}
.article-body blockquote p { font-family: var(--font-serif); font-size: 1.15rem; font-style: italic; margin-bottom: 0; }

.article-gate {
  background: var(--charcoal);
  padding: 80px 40px;
}
.article-gate__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.article-gate h2 { color: var(--ivory); font-weight: 300; margin-bottom: 16px; }
.article-gate p { color: rgba(232,223,208,0.7); margin-bottom: 32px; max-width: 52ch; margin-left: auto; margin-right: auto; }
.article-gate form { text-align: left; }
.article-gate .form-group label { color: rgba(232,223,208,0.8); }
.article-gate .form-group input {
  background: rgba(255,255,255,0.07);
  border-color: rgba(201,169,110,0.35);
  color: var(--ivory);
}
.article-gate .form-group input::placeholder { color: rgba(232,223,208,0.4); }
.article-gate .form-group input:focus { border-color: var(--gold); }
.article-gate .form-consent { color: rgba(232,223,208,0.6); }
.article-gate .gdpr-note {
  font-size: 0.78rem;
  color: rgba(232,223,208,0.4);
  line-height: 1.6;
  margin-top: 20px;
  text-align: center;
}
.article-gate .gdpr-note a { color: var(--gold); }

@media (max-width: 768px) {
  .checkbox-grid { grid-template-columns: 1fr; }
  .article-header { padding: 120px 24px 60px; }
  .article-body { padding: 60px 24px; }
  .article-gate { padding: 60px 24px; }
}

/* =========================================================
   SCROLL ANIMATIONS
   ========================================================= */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .prism-pillars { grid-template-columns: repeat(2, 1fr); }
  .service-card { grid-template-columns: 1fr; min-height: auto; }
  .service-card--reverse { direction: ltr; }
  .service-card__image { min-height: 240px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .case-study-card__sections { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 60px 24px; }
  .container { padding: 0 24px; }
  .nav { padding: 0 24px; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .prism-pillars { grid-template-columns: 1fr; }
  .discovery-steps { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .page-links { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .qualities-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__content { padding: 120px 24px 80px; }
  .page-header { padding: 120px 24px 60px; }
  .problem-section { padding: 60px 24px; }
  .value-strip { padding: 60px 24px; }
  .posts-section { padding: 60px 24px; }
  .services-list { padding: 60px 24px; }
  .prism-block { padding: 60px 24px; }
  .trust-strip { padding: 40px 24px; }
  .cta-section { padding: 60px 24px; }
  .posts-section__header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .resource-form { flex-direction: column; }
}

/* =========================================================
   ACCESSIBILITY — WCAG 2.2
   ========================================================= */

/* Skip navigation link */
.skip-link {
  position: absolute;
  top: -56px;
  left: 16px;
  z-index: 10000;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 12px 24px;
  font-size: 0.85rem;
  font-family: var(--font-sans);
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; outline: 2px solid var(--gold); outline-offset: 2px; }

/* Enhanced focus for keyboard navigation */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Screen-reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================
   PERFORMANCE — REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* =========================================================
   NEUROSCIENCE UX — READING COMFORT
   ========================================================= */

/* Scroll offset so anchored headings clear the fixed nav */
html { scroll-padding-top: 80px; }

/* Balanced line lengths for the problem-section headline */
.problem-section h2 { text-wrap: balance; max-width: 22ch; }

/* High-contrast text selection */
::selection { background: var(--gold); color: var(--charcoal); }

/* Open-role job card */
.job-card {
  background: var(--white);
  border-left: 3px solid var(--gold);
  padding: 36px 40px;
  margin-bottom: 24px;
}
.job-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.job-card__tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}
.job-card h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  margin-bottom: 8px;
}
.job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 16px 0 24px;
  font-size: 0.85rem;
  color: var(--charcoal-60);
}
.job-card__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.job-card__meta-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--gold);
}
.job-card__section { margin-bottom: 20px; }
.job-card__section h4 {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  font-family: var(--font-sans);
  font-weight: 500;
  white-space: normal;
}
.job-card__section ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--charcoal-60);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* =========================================================
   PRINT
   ========================================================= */
@media print {
  .nav, .nav__mobile-menu, .cta-section, .skip-link { display: none; }
  body { color: #000; background: #fff; font-size: 12pt; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #666; }
  h1, h2, h3, h4 { color: #000; page-break-after: avoid; }
  .page-header { background: none !important; color: #000; padding: 24px 0; }
  .footer { border-top: 1px solid #ccc; margin-top: 40px; }
}
