/* Mind Insight — shared stylesheet */

:root {
  --sage: #3E7B82;
  --sage-light: #7FACB1;
  --sage-pale: #DCEDEE;
  --warm: #F5F0EB;
  --warm-dark: #E8DFD5;
  --cream: #FDFBF8;
  --text: #1F3A3D;
  --text-light: #4F6A6D;
  --text-muted: #87989A;
  --white: #FFFFFF;
  --accent: #B8956A;
  --gold: #BFA063;
  --gold-deep: #8C6F3C;
  --gold-light: #D9C28A;
  --heading: 'Playfair Display', Georgia, serif;
  --script: 'Italianno', 'Playfair Display', cursive;
  --trajan: 'Italiana', 'Trajan Pro', 'Cinzel', Trajan, 'Times New Roman', serif;
  --body: 'Inter', -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 8px rgba(44,62,47,0.06);
  --shadow-md: 0 12px 32px rgba(62,123,130,0.12);
  --shadow-lg: 0 20px 48px rgba(62,123,130,0.18);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-padding-top: 88px; }
body { font-family: var(--body); color: var(--text); background: var(--cream); line-height: 1.7; font-size: 16px; font-feature-settings: "kern" 1, "liga" 1; }
::selection { background: var(--sage-pale); color: var(--text); }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 4px; }
a { color: var(--sage); }

/* NAV */
nav { position: fixed; top: 0; width: 100%; background: rgba(31,58,61,0.92); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); z-index: 200; border-bottom: 1px solid rgba(217,194,138,0.12); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; }
.nav-brand { font-family: var(--trajan); font-size: 1.05rem; color: var(--gold-light); text-decoration: none; font-weight: 400; letter-spacing: 7px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; }
.nav-links { display: flex; gap: 28px; list-style: none; z-index: 200; }
.nav-links a { text-decoration: none; color: rgba(253,251,248,0.72); font-size: 0.88rem; font-weight: 400; transition: color 0.3s var(--ease); position: relative; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold-light); transform: scaleX(0); transform-origin: center; transition: transform 0.35s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 201; position: relative; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: rgba(253,251,248,0.85); margin: 5px 0; transition: 0.3s var(--ease); }

/* HERO */
.hero { min-height: 90vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 140px 24px 96px; background: linear-gradient(165deg, #4F8489 0%, #427479 50%, #38656A 100%); position: relative; overflow: hidden; }
.hero.compact { min-height: 60vh; padding: 140px 24px 72px; }
.hero-mark-tr, .hero-mark-bl { position: absolute; pointer-events: none; user-select: none; z-index: 0; }
.hero-mark-tr { top: -400px; right: -400px; width: 800px; height: 800px; }
.hero-mark-bl { bottom: -350px; left: -350px; width: 700px; height: 700px; }
.hero-mark-tr svg, .hero-mark-bl svg { width: 100%; height: 100%; display: block; }
@media (max-width: 768px) {
  .hero-mark-tr { width: 480px; height: 480px; top: -240px; right: -240px; }
  .hero-mark-bl { width: 400px; height: 400px; bottom: -200px; left: -200px; }
}
.hero-content { position: relative; z-index: 1; max-width: 820px; }
.hero h1 {
  font-family: 'Cinzel', 'Trajan Pro', 'Trajan', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: #FDFBF8;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: 5px;
  text-transform: uppercase;
}
.hero .subtitle { font-family: var(--heading); font-size: 1.3rem; color: var(--gold-light); font-weight: 400; margin-bottom: 28px; letter-spacing: 0.3px; }
.hero p { font-size: 1.08rem; color: rgba(253,251,248,0.85); max-width: 620px; margin: 0 auto 36px; font-weight: 300; }
.hero-cta { display: inline-block; background: var(--gold); color: #1F2A2C; padding: 15px 38px; border-radius: 50px; text-decoration: none; font-size: 0.95rem; font-weight: 600; transition: transform 0.35s var(--ease), background 0.3s var(--ease), box-shadow 0.35s var(--ease); letter-spacing: 0.6px; box-shadow: 0 4px 16px rgba(0,0,0,0.25); }
.hero-cta:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,0.35); }
.hero-cta:active { transform: translateY(0); }
.name-creds { font-family: var(--body); font-size: 0.95rem; letter-spacing: 3px; color: #FDFBF8; margin-bottom: 22px; font-weight: 500; }
.hero-credentials { margin-top: 36px; display: flex; gap: 18px 28px; justify-content: center; flex-wrap: wrap; }
.credential { font-size: 0.74rem; color: rgba(217,194,138,0.78); letter-spacing: 1.6px; text-transform: uppercase; font-weight: 500; }
.mi-watermark-hero .mi-ring,
.mi-watermark-hero .mi-vortex path { stroke: var(--gold-light); }
.mi-watermark-hero .mi-dot { fill: var(--gold-light); }
.mi-watermark-hero { opacity: 0.09; }

/* SECTIONS */
section { padding: 96px 24px; }
.container { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.container.narrow { max-width: 820px; }
.section-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 3px; color: var(--sage); margin-bottom: 14px; font-weight: 600; }
.section-title { font-family: var(--heading); font-size: 2.25rem; font-weight: 500; color: var(--gold-deep); margin-bottom: 18px; line-height: 1.25; letter-spacing: -0.2px; }
.section-intro { font-size: 1.05rem; color: var(--text-light); max-width: 700px; font-weight: 300; margin-bottom: 52px; }

.prose p { margin-bottom: 18px; color: var(--text-light); font-weight: 300; font-size: 1.02rem; }
.prose h3 { font-family: var(--heading); font-size: 1.45rem; color: var(--gold-deep); margin: 36px 0 14px; font-weight: 600; }
.prose h4 { font-family: var(--heading); font-size: 1.15rem; color: var(--text); margin: 24px 0 10px; font-weight: 600; }
.prose ul { margin: 4px 0 22px 22px; }
.prose ul li { color: var(--text-light); font-weight: 300; margin-bottom: 8px; font-size: 1.02rem; }
.prose strong { color: var(--text); font-weight: 600; }
.prose .lede { font-size: 1.15rem; color: var(--text); font-weight: 400; line-height: 1.65; margin-bottom: 28px; }

/* ABOUT (home) */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-visual { background: linear-gradient(135deg, var(--sage-pale), var(--warm)); border-radius: 24px; min-height: 440px; padding: 32px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; box-shadow: var(--shadow-sm); }
.about-portrait { position: relative; z-index: 1; width: 260px; height: 380px; border-radius: 12px; object-fit: cover; object-position: center top; box-shadow: 0 14px 40px rgba(31,58,61,0.28); }
.about-portrait-fallback { font-family: var(--script); font-size: 8rem; color: rgba(62,123,130,0.45); font-weight: 400; position: relative; z-index: 1; line-height: 1; }
.about-text p { margin-bottom: 18px; color: var(--text-light); font-weight: 300; }

/* SERVICES */
.services { background: var(--cream); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 24px; align-items: stretch; }
.service-card { background: var(--white); border-radius: 16px; padding: 32px 28px; border: 1px solid rgba(62,123,130,0.1); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s var(--ease); display: flex; flex-direction: column; }
.service-card p { flex: 1 1 auto; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sage-light); }
.service-icon { width: 48px; height: 48px; background: var(--sage-pale); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; font-size: 1.4rem; color: var(--sage); transition: background 0.3s var(--ease); }
.service-card:hover .service-icon { background: var(--sage); color: var(--white); }
.service-card h3 { font-family: var(--heading); font-size: 1.15rem; font-weight: 600; color: var(--text); margin-bottom: 12px; letter-spacing: 0.1px; }
.service-card p { font-size: 0.92rem; color: var(--text-light); font-weight: 300; line-height: 1.65; }
.service-card a.more { display: inline-block; margin-top: 14px; font-size: 0.85rem; font-weight: 500; color: var(--sage); text-decoration: none; letter-spacing: 0.3px; }
.service-card a.more::after { content: ' \2192'; transition: transform 0.3s var(--ease); display: inline-block; }
.service-card a.more:hover::after { transform: translateX(3px); }

/* APPROACHES */
.approaches { background: var(--sage); color: var(--white); }
.approaches .section-label { color: var(--sage-light); }
.approaches .section-title { color: var(--gold-light); }
.approaches .section-intro { color: rgba(255,255,255,0.85); }
.approach-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.approach-item { background: rgba(255,255,255,0.08); border-radius: 12px; padding: 26px; border: 1px solid rgba(255,255,255,0.1); transition: background 0.3s var(--ease), transform 0.3s var(--ease); }
.approach-item:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.approach-item h4 { font-family: var(--heading); font-size: 1.08rem; margin-bottom: 8px; font-weight: 500; letter-spacing: 0.1px; color: var(--gold-light); }
.approach-item p { font-size: 0.92rem; color: rgba(255,255,255,0.85); font-weight: 300; line-height: 1.7; }

/* TESTIMONIALS */
.testimonials { background: var(--warm); }
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial { background: var(--white); border-radius: 16px; padding: 36px 32px 32px; position: relative; box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.testimonial:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.testimonial::before { content: '\201C'; font-family: var(--heading); font-size: 4.5rem; color: var(--sage-pale); position: absolute; top: 8px; left: 24px; line-height: 1; }
.testimonial blockquote { font-size: 0.96rem; color: var(--text-light); font-weight: 300; margin-bottom: 18px; padding-top: 24px; line-height: 1.75; }
.testimonial cite { font-size: 0.85rem; color: var(--sage); font-style: normal; font-weight: 500; letter-spacing: 0.3px; }

/* FAQ */
.faq { background: var(--white); }
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid rgba(62,123,130,0.15); }
.faq-q { padding: 22px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: var(--heading); font-size: 1.05rem; font-weight: 500; color: var(--text); transition: color 0.3s var(--ease); gap: 16px; }
.faq-q:hover { color: var(--sage); }
.faq-q::after { content: '+'; font-family: var(--body); font-size: 1.4rem; color: var(--sage); font-weight: 300; transition: transform 0.35s var(--ease); flex-shrink: 0; }
.faq-q.open::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease), padding 0.3s var(--ease); }
.faq-a.open { max-height: 800px; padding-bottom: 22px; }
.faq-a p { font-size: 0.95rem; color: var(--text-light); font-weight: 300; line-height: 1.75; margin-bottom: 12px; }

/* CONTACT */
.contact { background: linear-gradient(165deg, var(--sage-pale) 0%, var(--cream) 100%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.contact-info h3 { font-family: var(--heading); font-size: 1.7rem; margin-bottom: 18px; letter-spacing: -0.1px; color: var(--gold-deep); }
.contact-info p { color: var(--text-light); font-weight: 300; margin-bottom: 28px; }
.contact-detail { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; font-size: 0.95rem; color: var(--text); }
.contact-detail .icon { width: 40px; height: 40px; background: var(--sage); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1rem; flex-shrink: 0; box-shadow: 0 4px 12px rgba(62,123,130,0.2); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input, .contact-form textarea { background: var(--white); border: 1px solid rgba(62,123,130,0.2); border-radius: 12px; padding: 14px 18px; font-family: var(--body); font-size: 0.92rem; color: var(--text); transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(62,123,130,0.12); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button { background: var(--sage); color: var(--white); border: none; padding: 14px 32px; border-radius: 50px; font-size: 0.95rem; font-weight: 500; cursor: pointer; transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease); align-self: flex-start; letter-spacing: 0.5px; box-shadow: 0 4px 16px rgba(62,123,130,0.18); }
.contact-form button:hover { background: #2F6065; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(62,123,130,0.3); }
.contact-form button:disabled { opacity: 0.6; cursor: wait; transform: none; box-shadow: 0 4px 16px rgba(62,123,130,0.18); }
.contact-form .form-consent { font-size: 0.78rem; color: var(--text-light); font-weight: 300; line-height: 1.55; margin: 4px 2px 0; opacity: 0.85; }
.contact-form .form-status { font-size: 0.9rem; line-height: 1.5; margin-top: 4px; min-height: 1.2em; }
.contact-form .form-status.success { color: #1F4549; background: rgba(62,123,130,0.08); border-left: 3px solid var(--sage); padding: 12px 14px; border-radius: 6px; }
.contact-form .form-status.error { color: #8B2E2E; background: rgba(139,46,46,0.06); border-left: 3px solid #B84A4A; padding: 12px 14px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* PAGE INTRO (sub-pages) */
.page-intro { background: linear-gradient(165deg, #F8F4ED 0%, var(--cream) 100%); padding: 130px 24px 64px; text-align: center; }
.page-intro h1 { font-family: var(--heading); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--gold-deep); margin-bottom: 12px; line-height: 1.2; font-weight: 500; }
.page-intro .eyebrow { font-size: 0.78rem; letter-spacing: 4px; text-transform: uppercase; color: var(--sage); font-weight: 600; margin-bottom: 14px; }
.page-intro .lead { color: var(--text-light); font-weight: 300; max-width: 640px; margin: 0 auto; font-size: 1.05rem; }

/* GLOBAL BIO BAR */
.bio-bar { background: var(--text); color: rgba(253,251,248,0.85); padding: 20px 24px; text-align: center; font-size: 0.78rem; letter-spacing: 0.4px; line-height: 1.6; font-weight: 300; }
.bio-bar strong { color: var(--gold-light); font-weight: 600; letter-spacing: 0.6px; margin-right: 6px; }
.bio-bar .sep { color: rgba(217,194,138,0.4); margin: 0 8px; }

/* CTA STRIP */
.cta-strip { background: var(--sage); color: var(--white); text-align: center; padding: 72px 24px; }
.cta-strip h2 { font-family: var(--heading); font-size: 1.85rem; margin-bottom: 14px; color: var(--gold-light); font-weight: 500; }
.cta-strip p { color: rgba(255,255,255,0.85); margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; font-weight: 300; }
.cta-strip a.btn { display: inline-block; background: var(--gold); color: #1F2A2C; padding: 14px 36px; border-radius: 50px; text-decoration: none; font-weight: 600; letter-spacing: 0.5px; transition: transform 0.3s var(--ease), background 0.3s var(--ease); }
.cta-strip a.btn:hover { background: var(--gold-light); transform: translateY(-2px); }

/* FOOTER */
footer { background: var(--text); color: rgba(255,255,255,0.6); padding: 48px 24px 40px; text-align: center; font-size: 0.82rem; }
footer .brand { font-family: var(--trajan); color: var(--gold-light); font-size: 1rem; margin-bottom: 10px; letter-spacing: 8px; text-transform: uppercase; font-weight: 400; }
footer .brand-mark { width: 64px; height: 64px; margin: 0 auto 12px; display: block; }
footer .brand-mark .mi-ring,
footer .brand-mark .mi-vortex path,
footer .brand-mark .mi-vortex circle,
footer .brand-mark .mi-dot { stroke: var(--gold-light); }
footer .brand-mark .mi-dot { fill: var(--gold-light); }
footer p { margin-bottom: 6px; }
footer a { color: var(--sage-light); text-decoration: none; }
footer a:hover { color: var(--gold-light); }
footer .footer-nav { margin: 18px 0 14px; display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; }
footer .footer-nav a { font-size: 0.82rem; }
footer .meta { font-size: 0.72rem; color: rgba(255,255,255,0.4); margin-top: 14px; letter-spacing: 0.3px; }

/* MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* MOBILE */
@media (max-width: 900px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 0.82rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(31,58,61,0.96); flex-direction: column; padding: 24px; gap: 16px; border-bottom: 1px solid rgba(217,194,138,0.12); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding: 120px 24px 72px; min-height: auto; }
  .hero.compact { padding: 120px 24px 48px; }
  .hero h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); letter-spacing: 3px; }
  .hero .subtitle { font-size: 1.02rem; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-visual { min-height: 420px; padding: 24px; }
  .about-portrait { width: 240px; height: 360px; }
  .services-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-credentials { flex-direction: column; gap: 8px; }
  section { padding: 72px 24px; }
  .bio-bar { font-size: 0.72rem; padding: 18px 16px; }
}
@media (max-width: 480px) {
  section { padding: 60px 20px; }
  .section-title { font-size: 1.7rem; }
  .testimonial { padding: 32px 24px 28px; }
  .page-intro { padding: 110px 20px 48px; }
}
@media print {
  nav, footer, .cta-strip { display: none; }
  .hero { min-height: auto; padding: 40px; background: none; color: #000; }
  .hero h1, .hero .subtitle, .hero p { color: #000 !important; }
}

/* GOLD LOGO */
.mi-ring { stroke: var(--mi-color, var(--gold)); stroke-width: var(--mi-ring-w, 2.6); fill: none; }
.mi-vortex path, .mi-vortex circle { fill: none; stroke: var(--mi-color, var(--gold)); stroke-width: var(--mi-path-w, 1.8); opacity: var(--mi-path-op, 0.95); stroke-linecap: round; stroke-linejoin: round; }
.mi-dot { fill: var(--mi-color, var(--gold)); }
.brand-mark { display: inline-block; vertical-align: middle; }
.brand-mark.sm { width: 38px; height: 38px; }
.brand-mark.lg { width: 200px; height: 200px; }
.brand-mark.md { width: 56px; height: 56px; }
.nav-brand .brand-mark { filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3)); }
.nav-brand .brand-mark .mi-ring,
.nav-brand .brand-mark .mi-vortex path,
.nav-brand .brand-mark .mi-vortex circle { stroke: var(--gold-light); }
.nav-brand .brand-mark .mi-dot { fill: var(--gold-light); }
.hero-mark { margin-bottom: 24px; opacity: 0.95; animation: mi-fade 1.2s var(--ease) both; }
@keyframes mi-fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 0.95; transform: none; } }
@media (max-width: 768px) { .brand-mark.lg { width: 160px; height: 160px; } }

.brand-wordmark, .brand-wordmark-footer {
  font-family: 'Cormorant Garamond', 'Garamond', serif;
  font-weight: 500;
  color: #BFA063;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  display: inline-block;
  white-space: nowrap;
  line-height: 1;
}
.brand-wordmark { font-size: 1.4rem; }
.brand-wordmark-footer { font-size: 1.35rem; margin: 0 auto; color: var(--gold-light); }
.byline { font-family: var(--body); font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase; color: var(--gold-light); margin-top: 8px; font-weight: 500; }
