*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --navy: #0d1b2a;
  --cream: #f5f0e8;
  --gold: #b8965a;
  --mist: #e8e2d6;
  --ink: #2a2a2a;
  --light: #6b6560;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--cream);
  color: var(--ink);
}
.expertise-wrapper {
  padding: 6rem 0 2rem;
}

.expertise-section {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 460px;
  overflow: hidden;
  border-bottom: 1px solid var(--mist);
}
.expertise-section:nth-child(even) .expertise-accent {
  order: 2;
}
.expertise-section:nth-child(even) .expertise-content {
  order: 1;
}

.expertise-accent {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.expertise-accent img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center;
}
.expertise-accent svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.expertise-section:nth-child(odd) .expertise-accent::after {
  content: "";
  position: absolute;
  top: 15%;
  right: 0;
  width: 2px;
  height: 70%;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.45;
}
.expertise-section:nth-child(even) .expertise-accent::after {
  content: "";
  position: absolute;
  top: 15%;
  left: 0;
  width: 2px;
  height: 70%;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.45;
}

.expertise-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 5.5vw, 5rem) clamp(2.5rem, 5.5vw, 5rem);
}

.expertise-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.expertise-tag::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background-color: black;
  flex-shrink: 0;
}

.expertise-heading {
  font-family: var(--font-body);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.expertise-body {
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1.3vw, 1.05rem);
  font-weight: 300;
  line-height: 1.9;
  color: var(--light);
  max-width: 460px;
}

.expertise-rule {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2.2rem;
}
.expertise-rule span {
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.expertise-rule em {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 0.88rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  opacity: 0.85;
}

@media (max-width: 860px) {
  .expertise-section {
    grid-template-columns: 1fr;
  }
  .expertise-section:nth-child(even) .expertise-accent,
  .expertise-section:nth-child(even) .expertise-content {
    order: unset;
  }
  .expertise-accent {
    min-height: 220px;
  }
  .expertise-section:nth-child(odd) .expertise-accent::after,
  .expertise-section:nth-child(even) .expertise-accent::after {
    top: auto;
    bottom: 0;
    left: 15%;
    right: auto;
    width: 70%;
    height: 2px;
    background: linear-gradient(
      to right,
      transparent,
      var(--gold),
      transparent
    );
  }
}
@media (max-width: 480px) {
  .expertise-content {
    padding: 2.5rem 1.6rem;
  }
}

.headline-break {
  background: var(--cream);
  padding: 7rem clamp(2rem, 10vw, 10rem);
}

.headline-break-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.headline-break-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
  opacity: 0.4;
}

.headline-break-rule:last-child {
  background: linear-gradient(to left, transparent, var(--gold));
}

.headline-break-text {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.headline-break-text em {
  font-weight: 300;
  color: var(--gold);
}

@media (max-width: 760px) {
  .headline-break-inner {
    flex-direction: column;
    gap: 1.5rem;
  }
  .headline-break-rule {
    width: 60%;
    height: 1px;
    flex: none;
    background: linear-gradient(
      to right,
      transparent,
      var(--gold),
      transparent
    ) !important;
  }
  .headline-break-text {
    white-space: normal;
  }
}
