/* Reviewed, user-supplied editorial illustrations; never evidence of a client project. */
.te-visual-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 5rem);
  max-width: 1200px;
}
.te-visual-hero-copy {
  display: grid;
  gap: 1.2rem;
  min-width: 0;
}
.te-visual-hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.3rem);
  line-height: 1.12;
}
.te-visual-hero-copy .lead {
  margin: 0 !important;
  max-width: 50ch;
}
.te-visual-hero-copy .row {
  align-items: stretch;
}
.te-visual-hero-copy .btn {
  white-space: normal;
  max-width: 100%;
  text-align: center;
}
.te-hero-photo {
  margin: 0;
  min-width: 0;
}
.te-hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: 50% 55%;
  border-radius: 28px 28px 8px 8px;
}
.te-image-note {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}
.te-research-photo {
  margin: 0;
  grid-column: 1/-1;
  overflow: hidden;
  border-radius: 10px;
}
.te-research-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 21/9;
  object-fit: cover;
  object-position: 50% 50%;
}
#core-services .te-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.more a.te-service-card {
  padding: 0;
  gap: 0;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
}
.more a.te-service-card:first-child {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.te-service-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7/4;
  object-fit: cover;
}
.te-service-card:first-child > img {
  height: 100%;
  min-height: 250px;
}
.te-service-copy {
  padding: clamp(1.25rem, 2vw, 2rem);
  display: grid;
  gap: 0.7rem;
  align-content: center;
  min-width: 0;
}
.te-service-copy h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  margin: 0;
}
.more .te-service-copy > span {
  font-size: 0.95rem;
  line-height: 1.6;
}
.more .te-service-copy .te-card-arrow {
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
}
.te-service-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: var(--sand-ink);
}
.core-hero.te-core-visual {
  max-width: none;
  padding-bottom: 2.5rem;
}
.te-core-copy {
  max-width: 850px;
}
.te-core-photo {
  margin: 2rem 0 0;
  min-width: 0;
}
.te-core-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 7/4;
  object-fit: cover;
  border-radius: 20px;
}
.te-story-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  padding-block: 1.5rem;
  min-width: 0;
}
.te-story-pair figure {
  margin: 0;
  min-width: 0;
}
.te-story-pair img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 14px;
}
html[dir='rtl'] :is(.te-visual-hero, .te-service-copy) {
  text-align: start;
}
html[dir='rtl'] .te-visual-hero h1 {
  font-family: var(--sans);
  line-height: 1.3;
}
@media (max-width: 760px) {
  .te-visual-hero {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 1.5rem 2rem;
    gap: 1.5rem;
  }
  .te-hero-photo {
    order: -1;
  }
  .te-hero-photo img {
    aspect-ratio: 7/4;
    border-radius: 18px 18px 6px 6px;
  }
  .te-research-photo img {
    aspect-ratio: 7/4;
  }
  .more a.te-service-card:first-child {
    display: flex;
    grid-column: auto;
  }
  .te-service-card:first-child > img {
    height: auto;
    min-height: 0;
  }
}
@media (max-width: 600px) {
  #core-services .te-service-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .te-story-pair {
    grid-template-columns: minmax(0, 1fr);
  }
  .te-story-pair img {
    aspect-ratio: 7/4;
  }
}
