/* =============================================================
   SOMA Trauma Healing Center — PHP Site Stylesheet
   Design Philosophy: Archival Warmth / Slow Editorial
   Color Palette: Cream (#F6F3EE) · Forest Green (#163327) · Copper (#C07844) · Charcoal (#2D2D2D)
   Typography: Cormorant Garamond (serif) + Montserrat (sans-serif)
   ============================================================= */


/* =============================================================
   1. RESET & BASE
   ============================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #F6F3EE;
  color: #1a1a1a;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.03em;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #163327;
}

button:not(:disabled),
[role="button"]:not([aria-disabled="true"]),
a[href] {
  cursor: pointer;
}

::selection {
  background-color: #C07844;
  color: #F6F3EE;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}


/* =============================================================
   2. CONTAINER
   ============================================================= */

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 4rem;
    padding-right: 4rem;
    max-width: 1400px;
  }
}


/* =============================================================
   3. TYPOGRAPHY CLASSES
   ============================================================= */

.soma-display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #163327;
}

.soma-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #163327;
}

.soma-subheading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.35rem, 2.5vw, 2.25rem);
  line-height: 1.2;
  color: #163327;
}

.soma-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #163327;
}

.soma-label-cream {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F6F3EE;
  opacity: 0.75;
}

/* Label used for form fields and secondary labels */
.soma-label-muted {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(22, 51, 39, 0.75);
}

/* Smaller descriptive text under labels or sections */
.soma-detail {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: rgba(22, 51, 39, 0.75);
}

/* Fine print, disclaimers, optional hints */
.soma-fine {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: rgba(22, 51, 39, 0.65);
}

/* Inline optional/hint text inside labels */
.soma-hint {
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

/* Step numbers (e.g. contact page "What Happens Next") */
.soma-step-number {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.25rem;
  color: #C07844;
  opacity: 0.6;
  min-width: 1.25rem;
}

/* Italic pull quote on light background */
.soma-quote-muted {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  color: rgba(22, 51, 39, 0.6);
  line-height: 1.7;
}

/* Tag/chip for state badges, categories */
.soma-tag {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #163327;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(22, 51, 39, 0.2);
}

/* Radio/checkbox pill labels */
.soma-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(22, 51, 39, 0.2);
  border-radius: 2px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(22, 51, 39, 0.65);
  transition: all 200ms ease;
}

.soma-pill:hover {
  border-color: rgba(22, 51, 39, 0.4);
  color: rgba(22, 51, 39, 0.8);
}

.soma-pill.active {
  border-color: #C07844;
  color: #C07844;
  font-weight: 500;
  background-color: rgba(192, 120, 68, 0.06);
}

.soma-body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.85;
  letter-spacing: 0.03em;
  color: #1a1a1a;
}

.soma-body-green {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.85;
  letter-spacing: 0.03em;
  color: rgba(246, 243, 238, 0.85);
}

.soma-accent {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  color: #C07844;
}


/* =============================================================
   4. BUTTON CLASSES
   ============================================================= */

.soma-btn-primary {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F6F3EE;
  background-color: #C07844;
  padding: 1rem 2.5rem;
  border: 1px solid #C07844;
  transition: all 200ms cubic-bezier(0.23, 1, 0.32, 1);
  text-decoration: none;
}

.soma-btn-primary:hover {
  background-color: transparent;
  color: #C07844;
}

.soma-btn-primary:active {
  transform: scale(0.97);
}

.soma-btn-outline {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C07844;
  background-color: transparent;
  padding: 1rem 2.5rem;
  border: 1px solid #C07844;
  transition: all 200ms cubic-bezier(0.23, 1, 0.32, 1);
  text-decoration: none;
}

.soma-btn-outline:hover {
  background-color: #C07844;
  color: #F6F3EE;
}

.soma-btn-outline:active {
  transform: scale(0.97);
}

.soma-btn-outline-cream {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #F6F3EE;
  background-color: transparent;
  padding: 1rem 2.5rem;
  border: 1px solid rgba(246, 243, 238, 0.4);
  transition: all 200ms cubic-bezier(0.23, 1, 0.32, 1);
  text-decoration: none;
}

.soma-btn-outline-cream:hover {
  border-color: #C07844;
  color: #C07844;
}

.soma-btn-outline-cream:active {
  transform: scale(0.97);
}


/* =============================================================
   5. SECTION STYLES
   ============================================================= */

.soma-section-cream {
  background-color: #F6F3EE;
  padding: 6rem 0;
}

.soma-section-green {
  background-color: #163327;
  padding: 6rem 0;
}


/* =============================================================
   6. DECORATIVE — HAIRLINES
   ============================================================= */

.soma-hairline {
  width: 3rem;
  height: 1px;
  background-color: #C07844;
  display: block;
}

.soma-hairline-full {
  width: 100%;
  height: 1px;
  background-color: rgba(22, 51, 39, 0.1);
  display: block;
}

.soma-hairline-cream {
  width: 100%;
  height: 1px;
  background-color: rgba(246, 243, 238, 0.12);
  display: block;
}


/* =============================================================
   7. SCROLL REVEAL
   ============================================================= */

.soma-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms cubic-bezier(0.23, 1, 0.32, 1),
              transform 600ms cubic-bezier(0.23, 1, 0.32, 1);
}

.soma-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.soma-reveal-delay-1 { transition-delay: 80ms; }
.soma-reveal-delay-2 { transition-delay: 160ms; }
.soma-reveal-delay-3 { transition-delay: 240ms; }
.soma-reveal-delay-4 { transition-delay: 320ms; }


/* =============================================================
   8. NAVIGATION
   ============================================================= */

.soma-nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #163327;
  text-decoration: none;
  position: relative;
  transition: color 200ms ease;
}

.soma-nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #C07844;
  transition: width 250ms cubic-bezier(0.23, 1, 0.32, 1);
}

.soma-nav-link:hover {
  color: #C07844;
}

.soma-nav-link:hover::after {
  width: 100%;
}

.soma-nav-link-cream {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 243, 238, 0.75);
  text-decoration: none;
  transition: color 200ms ease;
}

.soma-nav-link-cream:hover {
  color: #C07844;
}


/* =============================================================
   9. PILLAR NUMBER
   ============================================================= */

.soma-pillar-number {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 4rem;
  line-height: 1;
  color: #C07844;
  opacity: 0.3;
  letter-spacing: -0.04em;
}


/* =============================================================
   10. FORM STYLES
   ============================================================= */

.soma-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(22, 51, 39, 0.2);
  padding: 0.75rem 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: #163327;
  outline: none;
  transition: border-color 200ms ease;
}

.soma-input::placeholder {
  color: rgba(22, 51, 39, 0.45);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.soma-input:focus {
  border-bottom-color: #C07844;
}

.soma-select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(22, 51, 39, 0.2);
  padding: 0.75rem 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(22, 51, 39, 0.65);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 200ms ease;
}

.soma-select:focus {
  border-bottom-color: #C07844;
  color: #163327;
}

.soma-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(22, 51, 39, 0.2);
  padding: 0.75rem 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: #163327;
  outline: none;
  resize: none;
  transition: border-color 200ms ease;
}

.soma-textarea::placeholder {
  color: rgba(22, 51, 39, 0.45);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.soma-textarea:focus {
  border-bottom-color: #C07844;
}


/* =============================================================
   11. BLOG ARTICLE CONTENT
   ============================================================= */

.blog-article-content {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.75;
  color: #2D2D2D;
  max-width: none;
  overflow-wrap: break-word;
  word-break: break-word;
}

.blog-article-content > p:first-of-type::first-letter {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 3.5em;
  float: left;
  line-height: 0.85;
  margin-right: 0.08em;
  margin-top: 0.05em;
  color: #C07844;
}

.blog-article-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #163327;
}

.blog-article-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #163327;
}

.blog-article-content p {
  margin-bottom: 1.25rem;
}

.blog-article-content blockquote {
  border-left: 2px solid #C07844;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #163327;
  opacity: 0.85;
}

.blog-article-content ul,
.blog-article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.blog-article-content ul {
  list-style: disc;
}

.blog-article-content ol {
  list-style: decimal;
}

.blog-article-content li {
  margin-bottom: 0.5rem;
}

.blog-article-content img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  margin: 2rem 0;
}

.blog-article-content hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #C07844, transparent);
  margin: 2.5rem 0;
  opacity: 0.4;
}

.blog-article-content a {
  color: #C07844;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 200ms ease;
}

.blog-article-content a:hover {
  opacity: 0.7;
}

.blog-article-content strong {
  font-weight: 600;
  color: #163327;
}


/* =============================================================
   12. HEADER STYLES
   ============================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: #F6F3EE;
  border-bottom: 1px solid transparent;
  transition: background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.site-header.scrolled {
  background-color: rgba(246, 243, 238, 0.97);
  border-bottom-color: rgba(22, 51, 39, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 96px;
}

.header-logo img {
  height: auto;
  width: 160px;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #163327;
  text-decoration: none;
  position: relative;
  transition: color 200ms ease;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #C07844;
  transition: width 250ms cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-dropdown-trigger:hover {
  color: #C07844;
}

.nav-dropdown-trigger:hover::after {
  width: 100%;
}

.nav-dropdown-trigger.active {
  color: #C07844;
}

.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.nav-dropdown.open .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-inner {
  width: 280px;
  background-color: #163327;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.dropdown-accent {
  width: 100%;
  height: 2px;
  background-color: #C07844;
}

.dropdown-link {
  display: block;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid rgba(246, 243, 238, 0.06);
  text-decoration: none;
  transition: background-color 200ms ease;
}

.dropdown-link:hover {
  background-color: rgba(246, 243, 238, 0.04);
}

.dropdown-link:last-child {
  border-bottom: none;
}

.dropdown-link-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 400;
  color: #F6F3EE;
  line-height: 1.3;
  transition: color 200ms ease;
}

.dropdown-link.active .dropdown-link-title {
  color: #C07844;
}

.dropdown-link-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  color: rgba(246, 243, 238, 0.4);
  letter-spacing: 0.04em;
  margin-top: 0.15rem;
}


/* =============================================================
   13. MOBILE MENU
   ============================================================= */

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  gap: 5px;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: #163327;
  transition: transform 300ms ease, opacity 200ms ease;
  transform-origin: center;
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background-color: #163327;
  transform: translateX(100%);
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-inner {
  padding: 7rem 2rem 3rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
}

.mobile-menu-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #F6F3EE;
  text-decoration: none;
  display: block;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(246, 243, 238, 0.08);
  transition: color 200ms ease;
}

.mobile-menu-link:hover {
  color: #C07844;
}


/* =============================================================
   14. FOOTER GRID
   ============================================================= */

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* =============================================================
   15. RESPONSIVE OVERRIDES
   ============================================================= */

@media (max-width: 1023px) {
  .soma-section-cream,
  .soma-section-green {
    padding: 4rem 0;
  }
}

@media (max-width: 767px) {
  .soma-display {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .soma-heading {
    font-size: clamp(1.5rem, 6vw, 2.25rem);
  }

  .soma-subheading {
    font-size: clamp(1.15rem, 4vw, 1.5rem);
  }

  .soma-section-cream,
  .soma-section-green {
    padding: 3rem 0;
  }

  .soma-pillar-number {
    font-size: 2.5rem;
  }

  .soma-btn-primary,
  .soma-btn-outline,
  .soma-btn-outline-cream {
    padding: 0.875rem 2rem;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .blog-article-content > p:first-of-type::first-letter {
    font-size: 2.8em;
  }

  .blog-article-content blockquote {
    padding-left: 1rem;
    margin-left: 0;
    margin-right: 0;
  }

  .blog-article-content h2 {
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  .soma-display {
    font-size: clamp(1.75rem, 7.5vw, 2.25rem);
  }

  .soma-heading {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  }

  .soma-section-cream,
  .soma-section-green {
    padding: 2.5rem 0;
  }
}


/* =============================================================
   16. UTILITY CLASSES
   ============================================================= */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

@media (max-width: 1023px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.flex-col-lg-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .flex-col-lg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.overflow-x-hidden {
  overflow-x: hidden;
}


/* =============================================================
   17. PAGE LAYOUT GRIDS
   ============================================================= */

/* Hero split: image left, text right */
.soma-grid-hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.soma-grid-hero .hero-image-col {
  display: none;
}

@media (min-width: 1024px) {
  .soma-grid-hero {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    align-items: center;
  }

  .soma-grid-hero .hero-image-col {
    display: block;
  }
}

/* Sidebar layout: narrow label left, wide content right */
.soma-grid-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .soma-grid-sidebar {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: start;
  }
}

/* Bio layout: image left (1fr), text right (1.4fr) */
.soma-grid-bio {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .soma-grid-bio {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    align-items: center;
  }
}

/* Bio reverse: text left (1.2fr), image right (1fr) */
.soma-grid-bio-reverse {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .soma-grid-bio-reverse {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

/* Two equal columns */
.soma-grid-2col-equal {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .soma-grid-2col-equal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* Contact split: left details (1fr), right form (1.5fr) */
.soma-grid-contact {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .soma-grid-contact {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: start;
  }
}

/* Pillar row: number | overview | focus areas */
.soma-grid-pillar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .soma-grid-pillar {
    grid-template-columns: 60px 1fr;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .soma-grid-pillar {
    grid-template-columns: 120px 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

/* Desktop-only visibility */
.desktop-only {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-only {
    display: block;
  }
}

/* Mobile full-bleed helper */
.soma-mobile-full-bleed {
  margin-left: -1.5rem;
  margin-right: -1.5rem;
}

@media (min-width: 1024px) {
  .soma-mobile-full-bleed {
    margin-left: 0;
    margin-right: 0;
  }
}
