/* About hero: photo anchored high so faces stay clear; the title sits in the shaded band beneath */
.page-hero--about {
  min-height: max(100svh, 720px);
  max-height: 1100px;
  padding-bottom: clamp(40px, 5vw, 72px);
}

.page-hero--about .page-hero__img {
  object-position: 68% 0%;
}

.page-hero--about::after {
  background:
    linear-gradient(0deg, rgba(36, 37, 40, 1) 0%, rgba(36, 37, 40, 0.92) 18%, rgba(36, 37, 40, 0.35) 42%, rgba(36, 37, 40, 0.1) 65%, rgba(36, 37, 40, 0.55) 100%);
}

@media (max-width: 960px) {
  .page-hero--about {
    min-height: min(100svh, 760px);
  }

  .page-hero--about .page-hero__img {
    object-position: 80% 0%;
  }
}

/* About: Our Story, Standards, Who We Work With */

/* Our Story: the year holds its place on the left while the story scrolls past */
.story {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  padding: clamp(96px, 11vw, 168px) var(--edge);
}

.story__aside {
  grid-column: 1 / span 4;
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.story__year {
  font-size: clamp(88px, 1rem + 11vw, 220px);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.06em;
  background: linear-gradient(90deg, var(--turquoise) 20%, var(--yellow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.story__kicker {
  margin-top: 20px;
  font-size: clamp(22px, 1rem + 0.9vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--grey);
}

.story__body {
  grid-column: 6 / span 7;
  display: grid;
  gap: 28px;
}

.story__title {
  margin-bottom: 8px;
  font-size: clamp(40px, 1rem + 3.6vw, 76px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.story__lead {
  font-size: clamp(20px, 0.8rem + 0.85vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.story__text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--on-dark-muted);
}

/* Standards: a hairline grid, each cell lights up on hover */
.standards {
  padding: clamp(96px, 11vw, 168px) var(--edge);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.standards__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: end;
  margin-bottom: clamp(48px, 5vw, 80px);
}

.standards__title {
  grid-column: 1 / -1;
  font-size: clamp(40px, 1rem + 3.8vw, 80px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.standards__intro {
  grid-column: 1 / span 10;
  margin-top: 28px;
  font-size: clamp(17px, 0.8rem + 0.45vw, 21px);
  line-height: 1.55;
  color: var(--on-dark-muted);
}

.standards__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.standard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: clamp(28px, 2.6vw, 40px);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  transition: background-color 0.4s ease;
}

.standard::before {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--turquoise), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.standard:hover {
  background: rgba(56, 206, 187, 0.06);
}

.standard:hover::before {
  transform: scaleX(1);
}

.standard__num {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--turquoise);
  transition: color 0.4s ease;
}

.standard:hover .standard__num {
  color: var(--yellow);
}

.standard h3 {
  margin-top: clamp(72px, 8vw, 128px);
  margin-bottom: 14px;
  font-size: clamp(32px, 1rem + 1.6vw, 48px);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.standard p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--on-dark-muted);
}

/* Who We Work With: OHO "Insights" cards */
.audiences {
  padding: clamp(96px, 11vw, 168px) var(--edge);
}

.audiences__title {
  margin-bottom: clamp(40px, 4.4vw, 64px);
  font-size: clamp(36px, 0.6rem + 3vw, 64px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.audiences__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
}

.aud-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 2rem;
  box-shadow: 0 4px 12px 4px rgba(56, 206, 187, 0.12);
}

.aud-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.aud-card__body {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 2.4vw, 36px);
  background: linear-gradient(180deg, transparent 25.66%, rgba(27, 28, 30, 0.82) 63.09%);
  transition: background 0.3s ease;
}

.aud-card h3 {
  margin-bottom: 10px;
  font-size: clamp(26px, 1rem + 1vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.aud-card p {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

/* The arrow waits off the card's right edge and slides in on hover */
.aud-card .arrow-dot {
  position: absolute;
  top: 2rem;
  right: 2rem;
  transform: translateX(calc(100% + 2.5rem));
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.aud-card__link {
  text-decoration: none;
}

.aud-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.aud-card:hover .aud-card__body,
.aud-card:focus-within .aud-card__body {
  background: linear-gradient(180deg, transparent 25%, rgba(27, 28, 30, 0.9) 50%);
}

.aud-card:hover img,
.aud-card:focus-within img {
  transform: scale(1.05);
}

.aud-card:hover .arrow-dot,
.aud-card:focus-within .arrow-dot {
  transform: translateX(0);
}

/* Touch screens have no hover, so the arrow stays in view */
@media (hover: none) {
  .aud-card .arrow-dot {
    transform: translateX(0);
  }
}

.aud-card:has(.aud-card__link:focus-visible) {
  outline: 2px solid var(--turquoise);
  outline-offset: 4px;
}

.aud-card__link:focus-visible {
  outline: none;
}

/* Team: OHO "Meet our dynamic team" portraits, every other card set lower */
.team {
  padding: clamp(96px, 11vw, 168px) var(--edge);
}

.team__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: clamp(40px, 4.4vw, 64px);
}

.team__title {
  font-size: clamp(40px, 1rem + 3.8vw, 80px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px var(--gutter);
}

.member:nth-child(even) {
  margin-top: 3rem;
}

.member__photo {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin-bottom: 18px;
  border-radius: 1.5rem;
  background: var(--surface-deep);
  box-shadow: 0 4px 12px 4px rgba(56, 206, 187, 0.1);
}

.member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.member__name {
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.member__name a {
  text-decoration: none;
  transition: color 0.3s ease;
}

/* The name link covers the card */
.member {
  position: relative;
}

.member__name a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.member:hover .member__name a,
.member:focus-within .member__name a {
  color: var(--turquoise);
}

.member:hover .member__photo img,
.member:focus-within .member__photo img {
  transform: scale(1.05);
}

.member__role {
  font-size: 14px;
  line-height: 1.4;
  color: var(--on-dark-muted);
}

/* Consult CTA: the Berecons lens over a field of words; the whole stage is the link */
.consult {
  padding: clamp(72px, 9vw, 140px) var(--edge) clamp(96px, 11vw, 168px);
}

.consult__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.consult__title {
  grid-column: 1 / span 7;
  font-size: clamp(44px, 1rem + 4vw, 92px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.consult__side {
  grid-column: 9 / span 4;
  display: grid;
  gap: 20px;
}

.consult__text {
  font-size: clamp(16px, 1.1vw, 19px);
  line-height: 1.55;
  color: var(--on-dark-muted);
}

.consult__lead {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--on-dark-muted);
}

.consult__lead img {
  width: 48px;
  height: 48px;
  border: 2px solid var(--turquoise);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 15%;
}

.consult__lead strong {
  display: block;
  font-size: 15px;
  color: var(--white);
}

.lens-stage {
  position: relative;
  display: block;
  overflow: hidden;
  height: clamp(360px, 40vw, 580px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2rem;
  background: var(--surface-deep);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

@media (pointer: fine) {
  .lens-stage {
    cursor: none;
  }
}

.lens-stage:focus-visible {
  outline: 2px solid var(--turquoise);
  outline-offset: 4px;
}

.lens-stage__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lens {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--lens-size, 300px);
  height: var(--lens-size, 300px);
  pointer-events: none;
  will-change: transform;
}

.lens__frame {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.5));
}

.lens__rim {
  fill: none;
  stroke: url(#lens-metal);
  stroke-width: 17;
}

.lens__handle {
  stroke: url(#lens-metal);
  stroke-width: 22;
  stroke-linecap: round;
}

/* The tag hangs just under the glass */
.lens__tag {
  position: absolute;
  top: calc(50% + var(--lens-size, 300px) * 0.44 + 14px);
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  background: rgba(36, 37, 40, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  translate: -50% 0;
  transition: scale 0.35s var(--ease-out);
}

.lens-stage:hover .lens__tag,
.lens-stage:focus-visible .lens__tag {
  scale: 1.06;
}

.lens__go {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--surface-deep);
  transition: background-color 0.3s ease;
}

.lens__go svg {
  grid-area: 1 / 1;
  transition: transform 0.3s ease;
}

.lens__go svg + svg {
  transform: translate(-150%, 150%);
}

.lens-stage:hover .lens__go {
  background: var(--white);
}

.lens-stage:hover .lens__go svg:first-child {
  transform: translate(150%, -150%);
}

.lens-stage:hover .lens__go svg + svg {
  transform: none;
}

@media (min-width: 1180px) {
  .audiences__title {
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  .team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {

  .standards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .consult__title,
  .consult__side {
    grid-column: 1 / -1;
  }

  .consult__side {
    max-width: 52ch;
    margin-top: 24px;
  }

  .lens__tag {
    font-size: 14px;
  }

  .story__aside,
  .story__body,
  .standards__title,
  .standards__intro {
    grid-column: 1 / -1;
  }

  .story__aside {
    position: static;
    margin-bottom: 48px;
  }

  .story__body {
    max-width: 62ch;
  }

  .standards__intro {
    max-width: 62ch;
    margin-top: 24px;
  }

  .audiences__grid {
    grid-template-columns: 1fr;
  }

  .aud-card {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 560px) {
  .standards__grid {
    grid-template-columns: 1fr;
  }

  .standard {
    min-height: 0;
  }

  .standard h3 {
    margin-top: 48px;
  }

  .aud-card {
    aspect-ratio: 4 / 5;
  }
}
