/* =========================
   Global Reset & Base
   ========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background-color: #f5f5f7;
  line-height: 1.6;
}

/* =========================
   Layout Helpers
   ========================= */
.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section--light {
  background: #f5f5f7;
}

.section--white {
  background: #ffffff;
}

.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: 2.25rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.section__subtitle {
  max-width: 640px;
  color: #4b5563;
  font-size: 0.98rem;
}

/* =========================
   Header & Navigation
   ========================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(245, 245, 247, 0.92);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand__mark {
  height: 42px;
  width: auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__name {
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

.brand__tagline {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: #6b7280;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9rem;
}

.nav__link {
  text-decoration: none;
  color: #111827;
  position: relative;
  padding-bottom: 0.25rem;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: #0f172a;
  transition: width 0.18s ease-out;
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__cta {
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  border: 1px solid #0f172a;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =========================
   Hero (Home)
   ========================= */
.hero {
  background:
    linear-gradient(120deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.88)),
    url("../img/hero-placeholder.jpg") center/cover no-repeat;
  color: #f9fafb;
  padding: 5.5rem 0 4.75rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 3.5rem;
  align-items: center;
}

.hero__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

.hero__title {
  font-size: 2.7rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.hero__body {
  font-size: 0.98rem;
  color: #d1d5db;
  max-width: 560px;
  margin-bottom: 1.5rem;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.btn--primary {
  background: #f9fafb;
  color: #111827;
}

.btn--ghost {
  background: transparent;
  border-color: rgba(249, 250, 251, 0.4);
  color: #e5e7eb;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  font-size: 0.78rem;
  color: #9ca3af;
}

.hero__meta-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.2rem;
}

.hero__meta-value {
  font-size: 1.05rem;
  color: #f9fafb;
}

/* Right column card */
.hero__card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 1.5rem;
  padding: 1.6rem 1.5rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.hero__card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.1rem;
}

.hero__card-title {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ca3af;
}

.hero__card-pill {
  font-size: 0.75rem;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 1.5rem;
  margin-bottom: 1.6rem;
}

.metric__label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
}

.metric__value {
  font-size: 1.2rem;
}

/* =========================
   Stats Strip
   ========================= */
.stats-strip {
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.stats-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 0;
}

.stat {
  min-width: 130px;
}

.stat__value {
  font-size: 1.35rem;
  font-weight: 600;
}

.stat__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #6b7280;
}

/* =========================
   Differentiators / Pillars
   ========================= */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.pillar {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.6rem 1.5rem 1.4rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
}

.pillar__title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.pillar__body {
  font-size: 0.9rem;
  color: #4b5563;
}

/* =========================
   Timeline / Process
   ========================= */
.process {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2.5rem;
}

.process__steps {
  border-left: 1px solid rgba(15, 23, 42, 0.16);
  padding-left: 1.5rem;
}

.step {
  margin-bottom: 1.4rem;
}

.step__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #6b7280;
  margin-bottom: 0.15rem;
}

.step__title {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

/* =========================
   Founder Statement (Overview)
   ========================= */
.founder-statement {
  margin-top: 1.75rem;
  background: #f5f5f7;
  border-radius: 1.25rem;
  padding: 1.7rem 1.6rem 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.03);
  font-size: 0.9rem;
  color: #374151;
}

.founder-statement h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.founder-statement blockquote {
  font-style: italic;
  margin-bottom: 0.9rem;
}

.founder-statement blockquote p {
  margin-bottom: 0.5rem;
}

.founder-signature {
  margin-top: 1.25rem;
  font-weight: 600;
}

.founder-title {
  font-size: 0.85rem;
  color: #6b7280;
}

/* =========================
   Cards / Offerings
   ========================= */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.65rem 1.6rem 1.4rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
}

.card__eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #9ca3af;
  margin-bottom: 0.35rem;
}

.card__title {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.card__list {
  margin-top: 0.5rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.card__list li {
  margin-bottom: 0.25rem;
}

/* =========================
   Image Grid (Portfolio)
   ========================= */
.image-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.image-grid__item {
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  height: 190px;
  background: #e5e7eb;
}

.image-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-grid__label {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  background: rgba(15, 23, 42, 0.85);
  color: #f9fafb;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
}

/* =========================
   Contact / Form
   ========================= */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.form {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.75rem 1.6rem 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.03);
}

.form__group {
  margin-bottom: 1rem;
}

.form__label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #6b7280;
  margin-bottom: 0.35rem;
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: 0.65rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.8);
  font-size: 0.95rem;
  outline: none;
}

.form__textarea {
  min-height: 120px;
  resize: vertical;
}

/* =========================
   Footer
   ========================= */
.footer {
  background: #0f172a;
  color: #9ca3af;
  padding: 2.5rem 0 1.5rem;
  margin-top: 4rem;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer__brand {
  max-width: 260px;
}

.footer__brand p {
  font-size: 0.85rem;
}

.footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.footer__col-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.65rem;
}

.footer__link {
  display: block;
  font-size: 0.85rem;
  color: #e5e7eb;
  text-decoration: none;
  margin-bottom: 0.3rem;
}

.footer__bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding-top: 1rem;
  font-size: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

/* =========================
   Subpage Hero (Our Firm)
   ========================= */
.hero--sub {
  background: linear-gradient(135deg, #0f172a, #111827);
  padding: 3.75rem 0 3.3rem;
}

.hero--sub .hero__grid {
  grid-template-columns: minmax(0, 2fr);
}

.hero--sub .hero__card {
  margin-top: 1.7rem;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 900px) {
  .hero__grid,
  .process,
  .grid-3,
  .grid-2,
  .stats-strip__inner,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
    flex-direction: column;
  }

  .header__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 4.25rem;
  }

  .hero__title {
    font-size: 2.1rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}
/* =========================
   Leadership Layout
   ========================= */
.leadership-layout {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  margin-top: 2.25rem;
}

.leadership-content {
  flex: 1;
}

/* stack on very small screens only */
@media (max-width: 640px) {
  .leadership-layout {
    flex-direction: column;
  }
}
/* --- Mobile improvements --- */

/* Keep text readable and images from overflowing */
body {
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

/* Slightly tighter container padding on small screens */
@media (max-width: 900px) {
  .container {
    padding-inline: 1.25rem;
  }

  /* Header: stack logo + nav vertically */
  .header__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .brand__text {
    font-size: 0.9rem;
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    row-gap: 0.25rem;
    column-gap: 1rem;
  }

  .nav__pill {
    flex-basis: 100%;
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
  }

  .nav__link {
    font-size: 0.9rem;
    padding: 0.25rem 0;
  }

  /* Hero: switch from side-by-side to stacked */
  .hero__grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .hero__title {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .hero__body {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .hero__card {
    margin-top: 0;
  }

  /* Form: full-width inputs and button spacing */
  .form__group {
    margin-bottom: 1rem;
  }

  .form__label {
    font-size: 0.9rem;
  }

  .form__input,
  .form__select,
  .form__textarea {
    width: 100%;
    font-size: 0.95rem;
  }

  .btn,
  .btn--primary,
  button[type="submit"] {
    width: 100%;
    text-align: center;
    padding-block: 0.85rem;
    font-size: 1rem;
  }

  /* Footer: stack instead of cramming in one row */
  .footer__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
  }

  .footer__right {
    font-size: 0.85rem;
  }
}

/* Optional tighter breakpoint for really small phones */
@media (max-width: 600px) {
  .hero__title {
    font-size: 1.5rem;
  }

  .brand__name {
    font-size: 1rem;
  }

  .brand__tagline {
    font-size: 0.75rem;
  }
}

