/*
Theme Name: Baori Advisory v3
Theme URI: https://baoriadvisory.com
Author: Baori Advisory LLC
Description: Custom theme for Baori Advisory — CMS-powered, fully editable from WordPress admin. Card-based team bios, mobile navigation, accessibility enhancements.
Version: 3.0.0
License: GNU General Public License v2 or later
Text Domain: baori-advisory-v3
*/

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

:root {
  --charcoal: #2D2D2D;
  --sage: #7C9E8A;
  --sage-light: #A8C4B4;
  --sage-pale: #EFF4F1;
  --cream: #FAF9F7;
  --white: #FFFFFF;
  --text-muted: #6B6B6B;
  --border: #E2E8E4;
  --sage-text: #506E5F;
  --overlay-bg: rgba(30,30,28,0.72);
  --nav-bg: rgba(250,249,247,0.96);
  --nav-bg-transparent: rgba(250,249,247,0.9);
  --white-dim: rgba(255,255,255,0.75);
  --white-dim-alt: rgba(255,255,255,0.6);
  --white-60: rgba(255,255,255,0.85);
  --photo-bg: #EDECEA;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --section-y: 6rem;
  --section-x: 5%;

  --fs-xs: 11px;
  --fs-sm: 13px;
  --fs-base: 15px;
  --fs-md: 16px;
  --fs-lg: 20px;
  --fs-xl: 22px;
  --fs-2xl: 28px;
  --fs-3xl: 38px;
  --fs-stat: 52px;

  --lh-tight: 1.2;
  --lh-snug: 1.4;
  --lh-normal: 1.6;
  --lh-relaxed: 1.75;
  --lh-loose: 1.85;

  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--charcoal); font-size: var(--fs-md); line-height: var(--lh-relaxed); }

/* ── Skip link ── */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--charcoal); color: var(--cream);
  padding: var(--space-3) var(--space-5); font-size: var(--fs-sm);
  font-weight: var(--fw-bold); letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; z-index: 9999; transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ── Focus styles ── */
:focus-visible { outline: 2px solid var(--sage-text); outline-offset: 3px; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--sage-text); outline-offset: 3px; }

/* ── Navigation ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--nav-bg); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border); padding: 0 var(--section-x);
  display: flex; align-items: center; justify-content: space-between; height: 90px;
}
.nav-brand { display: flex; flex-direction: column; gap: 0; text-decoration: none; }
.nav-logo { font-family: 'Cormorant Garamond', serif; font-size: var(--fs-3xl); font-weight: var(--fw-bold); letter-spacing: 0.05em; color: var(--charcoal); line-height: var(--lh-tight); }
.nav-logo-rule { display: block; height: 2px; background: var(--sage); width: 100%; margin: var(--space-1) 0 var(--space-1); }
.nav-tagline { display: block; font-family: 'Cormorant Garamond', serif; font-size: var(--fs-sm); font-style: italic; color: var(--charcoal); letter-spacing: 0.02em; line-height: 1; opacity: 0.65; }
.nav-links { display: flex; gap: var(--space-8); list-style: none; }
.nav-links a { font-size: var(--fs-sm); font-weight: var(--fw-bold); letter-spacing: 0.12em; text-transform: uppercase; color: var(--charcoal); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--sage-text); }

/* ── Mobile nav hamburger ── */
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: var(--space-2);
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
  padding: var(--space-2); z-index: 1100; position: relative;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px; background: var(--charcoal);
  transition: transform 0.3s ease, opacity 0.3s ease; transform-origin: center;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav overlay ── */
.nav-overlay {
  display: none; position: fixed; inset: 0; z-index: 1050; background: var(--charcoal);
  flex-direction: column; align-items: center; justify-content: center; padding: var(--space-8);
}
.nav-overlay.open { display: flex; }
.nav-overlay-brand { position: absolute; top: 0; left: 5%; height: 90px; display: flex; align-items: center; }
.nav-overlay-logo { font-family: 'Cormorant Garamond', serif; font-size: var(--fs-2xl); font-weight: var(--fw-bold); color: var(--cream); letter-spacing: 0.05em; text-decoration: none; }
.nav-overlay-links { list-style: none; display: flex; flex-direction: column; align-items: center; gap: var(--space-10); text-align: center; }
.nav-overlay-links a {
  font-family: 'Cormorant Garamond', serif; font-size: var(--fs-3xl); font-weight: var(--fw-normal);
  font-style: italic; color: var(--cream); text-decoration: none; letter-spacing: 0.02em;
  opacity: 0.85; transition: opacity 0.2s;
}
.nav-overlay-links a:hover { opacity: 1; color: var(--sage-light); }
.nav-overlay-close {
  position: absolute; top: 28px; right: 5%; background: none; border: none; cursor: pointer;
  font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cream); opacity: 0.65; display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2);
}
.nav-overlay-close:hover { opacity: 1; }
.nav-overlay-tagline {
  position: absolute; bottom: 2rem; font-family: 'Cormorant Garamond', serif;
  font-size: var(--fs-sm); font-style: italic; color: var(--sage-light); opacity: 0.7; text-align: center;
}

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links { display: none; }
}

/* ── Hero ── */
.hero {
  min-height: 100vh; display: grid; grid-template-columns: 1.2fr 0.8fr;
  align-items: center; padding: var(--section-y) var(--section-x); gap: var(--space-12);
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; right: 0;
  width: 42%; height: 100%; background: var(--sage-pale); z-index: 0;
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-left { position: relative; z-index: 1; }
.hero-label { font-size: var(--fs-sm); font-weight: var(--fw-bold); letter-spacing: 0.16em; text-transform: uppercase; color: var(--charcoal); margin-bottom: var(--space-6); display: flex; align-items: center; gap: var(--space-3); }
.hero-label::before { content: ''; display: block; width: 28px; height: 1px; background: var(--sage); }
.hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(36px, 4.5vw, 60px); font-weight: var(--fw-normal); line-height: var(--lh-tight); letter-spacing: -0.01em; color: var(--charcoal); margin-bottom: var(--space-6); }
.hero h1 em { font-style: italic; color: var(--sage-text); }
.hero-sub { font-size: var(--fs-md); font-weight: var(--fw-normal); color: var(--text-muted); line-height: var(--lh-loose); margin-bottom: var(--space-10); max-width: 520px; }
.hero-cta { display: inline-flex; align-items: center; gap: 10px; background: var(--charcoal); color: white; text-decoration: none; padding: 14px 28px; font-size: var(--fs-sm); letter-spacing: 0.06em; text-transform: uppercase; transition: background 0.2s; }
.hero-cta:hover { background: var(--sage); }
.hero-right { position: relative; z-index: 1; display: flex; flex-direction: column; gap: var(--space-8); padding-left: var(--space-8); }
.hero-stat { border-left: 2px solid var(--sage); padding-left: var(--space-6); }
.hero-stat-number { font-family: 'Cormorant Garamond', serif; font-size: var(--fs-stat); font-weight: var(--fw-normal); color: var(--charcoal); line-height: 1; margin-bottom: 0.25rem; }
.hero-stat-label { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.5; }

/* ── Shared section styles ── */
section { padding: var(--section-y) var(--section-x); }
.section-label { font-size: var(--fs-sm); font-weight: var(--fw-bold); letter-spacing: 0.18em; text-transform: uppercase; color: var(--charcoal); margin-bottom: var(--space-3); display: flex; align-items: center; gap: var(--space-3); }
.section-label::before { content: ''; display: block; width: 28px; height: 2px; background: var(--sage); flex-shrink: 0; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px, 4vw, 52px); font-weight: var(--fw-medium); line-height: var(--lh-tight); color: var(--charcoal); margin-bottom: 1.75rem; }

/* ── About ── */
.about { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--section-y); align-items: start; max-width: 1100px; }
.about-text p { color: var(--text-muted); margin-bottom: var(--space-5); font-size: var(--fs-md); line-height: var(--lh-relaxed); }
.about-text p:last-child { margin-bottom: 0; }
.about-aside { display: flex; flex-direction: column; gap: var(--space-8); }
.about-quote { border-left: 2px solid var(--sage); padding-left: 2rem; }
.about-quote blockquote { font-family: 'Cormorant Garamond', serif; font-size: var(--fs-xl); font-weight: var(--fw-normal); line-height: var(--lh-normal); color: var(--charcoal); font-style: italic; margin-bottom: 1rem; }
.about-quote p { font-size: var(--fs-base); color: var(--text-muted); line-height: var(--lh-relaxed); }
.book-feature { background: var(--sage-pale); border: 1px solid var(--border); padding: var(--space-6); display: flex; gap: var(--space-6); align-items: flex-start; }
.book-cover-sm { width: 64px; flex-shrink: 0; background: var(--charcoal); aspect-ratio: 2/3; display: flex; align-items: center; justify-content: center; padding: var(--space-2); overflow: hidden; }
.book-cover-sm img { width: 100%; height: 100%; object-fit: cover; }
.book-cover-sm-text { font-family: 'Cormorant Garamond', serif; font-size: var(--fs-xs); color: white; text-align: center; line-height: var(--lh-normal); }
.book-feature-label { font-size: var(--fs-sm); font-weight: var(--fw-semibold); letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage-text); margin-bottom: 0.3rem; }
.book-feature-title { font-family: 'Cormorant Garamond', serif; font-size: var(--fs-md); font-weight: var(--fw-normal); color: var(--charcoal); line-height: var(--lh-snug); margin-bottom: 0.3rem; }
.book-feature-meta { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: var(--space-3); }
.book-feature-link { font-size: var(--fs-xs); font-weight: var(--fw-medium); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage-text); text-decoration: none; border-bottom: 1px solid var(--sage-text); padding-bottom: 1px; }
.book-feature-link:hover { color: var(--charcoal); border-color: var(--charcoal); }

/* ── Services ── */
.services { background: var(--cream); }
.services-grid { display: flex; flex-direction: column; gap: 1px; max-width: 1100px; margin-top: var(--space-12); }
.service-card { background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--sage); overflow: hidden; transition: box-shadow 0.2s; }
.service-card:hover { box-shadow: 0 2px 16px rgba(45,45,45,0.06); }
.service-header { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-8); padding: var(--space-8) var(--space-10); cursor: pointer; width: 100%; background: none; border: none; font: inherit; text-align: left; color: inherit; appearance: none; -webkit-appearance: none; }
.service-header-left { display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.service-number { font-family: 'Cormorant Garamond', serif; font-size: var(--fs-sm); font-weight: var(--fw-normal); color: var(--sage-text); letter-spacing: 0.08em; }
.service-title { font-size: var(--fs-sm); font-weight: var(--fw-semibold); letter-spacing: 0.1em; text-transform: uppercase; color: var(--charcoal); }
.service-headline { font-family: 'Cormorant Garamond', serif; font-size: var(--fs-lg); font-weight: var(--fw-normal); color: var(--charcoal); line-height: var(--lh-snug); font-style: italic; }
.service-toggle { width: 28px; height: 28px; border-radius: 50%; background: var(--sage-pale); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: var(--space-1); transition: background 0.2s; }
.service-toggle svg { width: 13px; height: 13px; stroke: var(--sage); stroke-width: 2; fill: none; transition: transform 0.3s; }
.service-card.open .service-toggle { background: var(--sage); }
.service-card.open .service-toggle svg { stroke: white; transform: rotate(180deg); }
.service-body { max-height: 0; overflow: hidden; transition: max-height 0.45s ease, opacity 0.3s ease; opacity: 0; }
.service-card.open .service-body { max-height: 1200px; opacity: 1; }
.service-body-inner { padding: 0 var(--space-10) var(--space-8); border-top: 1px solid var(--border); }
.service-desc { font-size: var(--fs-base); color: var(--text-muted); line-height: var(--lh-relaxed); margin-bottom: var(--space-6); padding-top: 1.5rem; }
.service-divider { width: 32px; height: 1px; background: var(--sage); margin-bottom: 1rem; }
.service-areas-label { font-size: var(--fs-sm); font-weight: var(--fw-semibold); letter-spacing: 0.08em; text-transform: uppercase; color: var(--charcoal); margin-bottom: var(--space-2); }
.service-areas { font-size: var(--fs-sm); color: var(--text-muted); line-height: var(--lh-loose); }

/* ── Approach ── */
.approach { background: var(--charcoal); }
.approach .section-label { color: var(--nav-bg-transparent); }
.approach .section-label::before { background: var(--sage-light); }
.approach .section-title { color: var(--white); }
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--section-y); align-items: center; max-width: 1100px; }
.approach-text p { color: var(--white-60); line-height: var(--lh-relaxed); font-size: var(--fs-md); margin-bottom: var(--space-5); }
.approach-text p:last-child { margin-bottom: 0; }
.approach-pillars { display: flex; flex-direction: column; gap: var(--space-7); }
.pillar { border-left: 2px solid var(--sage); padding-left: var(--space-6); }
.pillar-title { font-size: var(--fs-base); font-weight: var(--fw-semibold); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sage-light); margin-bottom: var(--space-2); }
.pillar-desc { font-size: var(--fs-base); color: var(--white-dim); line-height: var(--lh-relaxed); }

/* ── Sectors ── */
.sectors { background: var(--white); border-top: 1px solid var(--border); }
.sectors-intro { font-size: var(--fs-md); color: var(--text-muted); line-height: var(--lh-relaxed); max-width: 700px; margin-bottom: var(--space-12); }
.sectors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); max-width: 1100px; }
.sector-card { border: 1px solid var(--border); padding: var(--space-8); transition: border-color 0.2s; }
.sector-card:hover { border-color: var(--sage); }
.sector-icon { width: 36px; height: 36px; background: var(--sage-pale); border-radius: 4px; display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-5); }
.sector-icon svg { width: 18px; height: 18px; stroke: var(--sage); stroke-width: 1.5; fill: none; }
.sector-title { font-size: var(--fs-base); font-weight: var(--fw-semibold); letter-spacing: 0.05em; text-transform: uppercase; color: var(--charcoal); margin-bottom: 0.6rem; }
.sector-desc { font-size: var(--fs-base); color: var(--text-muted); line-height: var(--lh-relaxed); margin-bottom: 1rem; }
.sector-orgs { font-size: var(--fs-sm); color: var(--sage-text); letter-spacing: 0.04em; }

/* ── Team (card grid) ── */
.team { background: var(--cream); border-top: 1px solid var(--border); }
.team-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); max-width: 1100px; margin-top: var(--space-12); }
.team-card { background: var(--white); border: 1px solid var(--border); overflow: hidden; transition: box-shadow 0.2s; cursor: pointer; }
.team-card:hover { box-shadow: 0 4px 20px rgba(45,45,45,0.09); }
.team-header { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 0; height: 100%; background: none; border: none; width: 100%; text-align: left; font-family: inherit; cursor: pointer; }
.team-avatar { width: 100%; aspect-ratio: 1 / 1; background: var(--sage-pale); overflow: hidden; display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: var(--fs-stat); font-weight: var(--fw-medium); color: var(--sage-text); flex-shrink: 0; border: 1.5px solid var(--sage-text); border-radius: 8px; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.team-card--founder .team-avatar { background: var(--charcoal); color: var(--white); }
.team-header-text { padding: var(--space-5) var(--space-5) var(--space-2); flex: 1; width: 100%; box-sizing: border-box; display: flex; flex-direction: column; }
.team-name { font-size: var(--fs-base); font-weight: var(--fw-medium); color: var(--charcoal); margin-bottom: var(--space-1); line-height: var(--lh-snug); }
.team-role { font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage-text); margin-bottom: var(--space-2); }
.team-tagline { font-size: var(--fs-sm); color: var(--text-muted); line-height: var(--lh-normal); flex: 1; }
.team-toggle { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-5); border-top: 1px solid var(--border); width: 100%; box-sizing: border-box; font-size: var(--fs-xs); font-weight: var(--fw-medium); letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage-text); margin-top: auto; }
.team-toggle svg { width: 11px; height: 11px; stroke: var(--sage); stroke-width: 2; fill: none; }
@media (max-width: 900px) { .team-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-list { grid-template-columns: 1fr; } }

/* ── Bio overlay (modal) ── */
.bio-overlay { display: none; position: fixed; inset: 0; z-index: 1000; background: var(--overlay-bg); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); align-items: center; justify-content: center; padding: var(--space-6); }
.bio-overlay.open { display: flex; }
.bio-modal { background: var(--white); max-width: 680px; width: 100%; max-height: 90vh; overflow-y: auto; }
.bio-modal-photo { float: left; width: 250px; aspect-ratio: 1 / 1; overflow: hidden; margin: 0 var(--space-7) var(--space-4) 0; background: var(--photo-bg); }
.bio-modal-photo img { width: 100%; height: 100%; object-fit: contain; object-position: center top; display: block; background: var(--photo-bg); }
.bio-modal--founder .bio-modal-photo { background: var(--charcoal); color: var(--white); }
.bio-modal-content { padding: var(--space-8) var(--space-10) var(--space-10); overflow: hidden; position: relative; }
.bio-modal-name { font-family: 'Cormorant Garamond', serif; font-size: var(--fs-xl); font-weight: var(--fw-semibold); color: var(--charcoal); margin-bottom: var(--space-1); line-height: var(--lh-tight); }
.bio-modal-role { font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage-text); margin-bottom: var(--space-5); }
.bio-modal-rule { height: 2px; background: var(--sage); width: 40px; margin-bottom: var(--space-5); }
.bio-modal-bio { font-size: var(--fs-base); color: var(--text-muted); line-height: var(--lh-relaxed); }
.bio-modal-bio p { margin-bottom: 1rem; }
.bio-modal-bio p:last-child { margin-bottom: 0; }
.bio-modal-close { position: absolute; top: 1rem; right: 1.25rem; cursor: pointer; font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); background: none; border: none; padding: 0; font-family: inherit; display: flex; align-items: center; gap: var(--space-2); }
.bio-modal-close:hover { color: var(--charcoal); }
.bio-modal-close::after { content: '\00D7'; font-size: var(--fs-lg); line-height: 1; margin-left: var(--space-1); }
@media (max-width: 600px) { .bio-modal { max-width: 100%; } .bio-modal-photo { width: 120px; } }

/* ── Contact ── */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--section-y); max-width: 1100px; align-items: start; }
.contact-info p { font-size: var(--fs-md); color: var(--text-muted); line-height: var(--lh-relaxed); margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: var(--space-4); }
.contact-item { display: flex; align-items: center; gap: var(--space-3); font-size: var(--fs-base); color: var(--text-muted); }
.contact-item a { color: var(--sage-text); text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }
.contact-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); flex-shrink: 0; }
.contact-form { display: flex; flex-direction: column; gap: var(--space-5); }
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.form-group label { font-size: var(--fs-xs); font-weight: var(--fw-medium); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.form-group input, .form-group textarea { border: 1px solid var(--border); background: var(--white); padding: var(--space-3) var(--space-4); font-family: 'DM Sans', sans-serif; font-size: var(--fs-base); color: var(--charcoal); outline: none; transition: border-color 0.2s; width: 100%; border-radius: 0; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--sage-text); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { background: var(--charcoal); color: white; border: none; padding: var(--space-4) var(--space-7); font-family: 'DM Sans', sans-serif; font-size: var(--fs-sm); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: background 0.2s; align-self: flex-start; }
.form-submit:hover { background: var(--sage); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-notice { padding: 12px 16px; margin-bottom: 1rem; font-size: 14px; }
.form-notice.success { background: var(--sage-pale); border: 1px solid var(--sage); color: var(--charcoal); }
.form-notice.error { background: #fdf0f0; border: 1px solid #d9a0a0; color: #7a2020; }

/* ── Footer ── */
footer { background: var(--charcoal); color: var(--white-dim-alt); padding: var(--space-8) var(--section-x); display: flex; align-items: center; justify-content: space-between; font-size: var(--fs-sm); flex-wrap: wrap; gap: var(--space-4); }
.footer-brand { display: flex; flex-direction: column; gap: var(--space-1); }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: var(--fw-bold); color: white; letter-spacing: 0.04em; }
.footer-logo-rule { height: 2px; background: var(--sage); width: 100%; max-width: 220px; margin: 5px 0 6px; }
.footer-tagline { font-family: 'Cormorant Garamond', serif; font-size: var(--fs-sm); font-style: italic; letter-spacing: 0.01em; color: var(--sage-light); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero, .about-grid, .approach-grid, .contact-grid { grid-template-columns: 1fr; gap: var(--space-12); }
  .hero::after { display: none; }
  .hero-right { padding-left: 0; }
  .sectors-grid { grid-template-columns: 1fr; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .service-toggle, .service-toggle svg, .service-body,
  .bio-overlay, .bio-modal, .nav-overlay, .nav-hamburger span,
  .sector-card, .team-card, .hero-cta, .form-submit, .nav-links a {
    transition: none !important;
  }
}
