/* ============================================================
 * About — The Gate Review
 * A case hearing: a client speaks first, then the record, the quotes,
 * the team, the approach and the close.
 * ============================================================ */

.page-about { background: var(--gr-paper); color: var(--gr-ink); font-family: var(--gr-sans); }
.page-about main { overflow-x: clip; }
.page-about :where(h1, h2, h3, p, dl, dd, ul, ol, figure, blockquote) { margin: 0; padding: 0; }
.page-about :where(ul, ol) { list-style: none; }

/* ============ Hero ============ */
.hearing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--gr-navy);
  color: var(--gr-on-navy);
  padding: clamp(3rem, 7vh, 5rem) var(--gr-gutter) clamp(3.25rem, 7vh, 5rem);
}
/* the floating header sits over the hero, so the hero starts under it */
.js .hearing { padding-top: calc(77px + clamp(3rem, 7vh, 5rem)); }
/* the swirl runs the hero's full height, cropped off the right edge, behind the video */
.hearing__swirl {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  right: clamp(-320px, -16vw, -80px);
  aspect-ratio: 1;
  background: linear-gradient(225deg, var(--gr-sky) 0%, var(--gr-navy-3) 32%, var(--gr-navy-2) 78%);
  -webkit-mask: url("../images/brand/bor-swirl-white.svg") center / contain no-repeat;
          mask: url("../images/brand/bor-swirl-white.svg") center / contain no-repeat;
  pointer-events: none;
}
.hearing__inner {
  max-width: var(--gr-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 2.5rem clamp(2rem, 5vw, 4.5rem);
  align-items: end;
}
.hearing__title {
  font-family: var(--gr-display);
  font-weight: 700;
  letter-spacing: -0.045em;
  font-size: clamp(2.9rem, 5.3vw, 4.75rem);
  line-height: 0.96;
  color: var(--gr-on-navy);
  text-wrap: balance;
  max-width: 15ch;
}
.hearing__lede {
  margin-top: clamp(1.5rem, 3vh, 2rem);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--gr-on-navy-2);
  max-width: 56ch;
}
.hearing__action {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 52px;
  margin-top: clamp(1.75rem, 3.5vh, 2.25rem);
  padding: 0 1.5rem;
  background: var(--gr-aqua);
  color: var(--gr-navy);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  text-decoration: none;
  transition: background-color 220ms var(--gr-ease);
}
.hearing__action svg { transition: transform 320ms var(--gr-ease); }
.hearing__action:hover,
.hearing__action:focus-visible { background: #fff; color: var(--gr-navy); }
.hearing__action:hover svg { transform: translateX(4px); }
.hearing a:focus-visible,
.hearing button:focus-visible { outline-color: var(--gr-aqua); }

/* ---------- The witness: the Melina video ---------- */
.witness__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  outline: 1px solid var(--gr-line);
}
/* the source is 2:1 with pillarbox bars; cover at 16:9 crops them away */
.witness__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.witness__play {
  position: absolute;
  left: 0;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--gr-aqua);
  color: var(--gr-navy);
  cursor: pointer;
  clip-path: inset(0 0 0 0);
  transition: background-color 220ms var(--gr-ease), clip-path 420ms var(--gr-ease);
}
.witness__play svg { margin-left: 3px; transition: transform 320ms var(--gr-ease); }
.witness__play:hover { background: #fff; }
.witness__play:hover svg { transform: translateX(2px); }
.witness.is-playing .witness__play { clip-path: inset(100% 0 0 0); pointer-events: none; }
.witness__caption {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.1rem;
}
.witness__caption b {
  font-family: var(--gr-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
  line-height: 1.2;
  color: var(--gr-on-navy);
}
.witness__caption span { font-size: 0.86rem; line-height: 1.55; color: var(--gr-on-navy-2); max-width: 44ch; }

/* ============ Speaking & industry features: the credit band ============ */
.record {
  background: var(--gr-aqua);
  color: var(--gr-navy);
  padding: clamp(1.75rem, 3vw, 2.25rem) var(--gr-gutter);
}
.record__inner {
  max-width: var(--gr-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 1.5rem clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.record__head h2 {
  font-family: var(--gr-display);
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: 1.3rem;
  line-height: 1.15;
  color: var(--gr-navy);
  max-width: 14ch;
}
.record__head p { margin-top: 0.6rem; font-size: 0.8rem; line-height: 1.55; font-weight: 500; max-width: 34ch; }
.record__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr);
}
.record__list > div {
  padding: 0 clamp(1rem, 2vw, 1.5rem);
  border-left: 1px solid rgba(3, 47, 79, 0.28);
}
.record__list dt {
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(3, 47, 79, 0.78);
}
.record__list dd { font-size: 0.84rem; font-weight: 500; line-height: 1.55; }
.record__list b { font-weight: 800; }
.record__list a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.record__list a:hover { text-decoration-thickness: 2px; }
.record__list a:focus-visible { outline: 2px solid var(--gr-navy); outline-offset: 2px; }
.record__list li + li { margin-top: 0.3rem; }

/* ============ What clients say ============ */
.testimony {
  background: var(--gr-paper);
  padding: clamp(4.5rem, 9vw, 7rem) var(--gr-gutter);
}
.testimony__inner {
  position: relative;
  max-width: var(--gr-max);
  margin: 0 auto;
  padding-top: 2.25rem;
  border-top: 1px solid var(--gr-navy);
}
.testimony__inner::before { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; background: var(--gr-navy); }
.testimony__title {
  font-family: var(--gr-display);
  font-weight: 650;
  letter-spacing: -0.035em;
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.02;
  color: var(--gr-navy);
  margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem);
}
.testimony__quotes {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2rem clamp(2rem, 5vw, 5rem);
}
.quote p {
  font-family: var(--gr-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  font-size: clamp(1.6rem, 2.7vw, 2.35rem);
  line-height: 1.18;
  color: var(--gr-navy);
  text-wrap: pretty;
  max-width: 24ch;
}
.quote footer {
  display: grid;
  gap: 0.15rem;
  margin-top: 1.4rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--gr-ink-2);
}
.quote footer b { font-size: 0.92rem; color: var(--gr-ink); }

/* ============ The team ============ */
.bench {
  background: var(--gr-navy-2);
  color: var(--gr-on-navy);
  padding: clamp(4.5rem, 9vw, 7rem) var(--gr-gutter);
  scroll-margin-top: 76px;
}
.bench__inner {
  position: relative;
  max-width: var(--gr-max);
  margin: 0 auto;
  padding-top: 2.25rem;
  border-top: 1px solid var(--gr-line);
}
.bench__inner::before { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; background: var(--gr-aqua); }
.bench__title {
  font-family: var(--gr-display);
  font-weight: 650;
  letter-spacing: -0.035em;
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.02;
  color: var(--gr-on-navy);
  margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem);
}
.member {
  display: grid;
  grid-template-columns: 160px minmax(0, 4fr) minmax(0, 7fr);
  gap: 1.25rem clamp(1.5rem, 3.5vw, 3rem);
  align-items: start;
  padding: clamp(2rem, 3.5vw, 2.75rem) 0;
  border-bottom: 1px solid var(--gr-line);
}
.member__photo {
  display: block;
  width: 160px;
  height: 160px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}
.member__name {
  font-family: var(--gr-display);
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  line-height: 1.1;
  color: var(--gr-on-navy);
}
.member__role {
  margin-top: 0.7rem;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--gr-on-navy);
}
.member__role span { display: block; font-weight: 500; color: var(--gr-on-navy-2); }
.member__bio { font-size: 0.98rem; line-height: 1.7; color: var(--gr-on-navy-2); max-width: 62ch; }
.member__bio p + p { margin-top: 1rem; }

/* ============ Common-sense compliance and the two doors ============ */
.approach { background: #fff; padding: clamp(4.5rem, 9vw, 7rem) var(--gr-gutter) 0; }
.approach__inner { max-width: var(--gr-max); margin: 0 auto; }
.approach__head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.5rem clamp(2rem, 5vw, 5rem);
  padding-top: 2.25rem;
  border-top: 1px solid var(--gr-navy);
}
.approach__head::before { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; background: var(--gr-navy); }
.approach__head h2 {
  font-family: var(--gr-display);
  font-weight: 650;
  letter-spacing: -0.035em;
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.02;
  color: var(--gr-navy);
  text-wrap: balance;
  max-width: 13ch;
  hyphens: manual;
}
.approach__prose { font-size: 1.05rem; line-height: 1.7; color: var(--gr-ink); max-width: 58ch; }
.approach__prose p + p { margin-top: 1rem; }

.approach__doors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  border-top: 1px solid var(--gr-rule);
}
.trust {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(2.5rem, 5vw, 3.75rem) clamp(1.5rem, 4.5vw, 4rem) clamp(4rem, 8vw, 6rem) 0;
}
.trust--scale {
  padding-left: clamp(1.5rem, 4.5vw, 4rem);
  padding-right: 0;
  border-left: 1px solid var(--gr-rule);
}
.trust__title {
  font-family: var(--gr-display);
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: clamp(1.75rem, 2.9vw, 2.4rem);
  line-height: 1.08;
  color: var(--gr-navy);
  text-wrap: balance;
  max-width: 16ch;
  margin-bottom: 1.25rem;
}
.trust p { font-size: 1rem; line-height: 1.7; color: var(--gr-ink); max-width: 48ch; }
.trust p + p { margin-top: 0.9rem; }
.trust p a { color: var(--gr-navy); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.trust p a:hover { text-decoration-thickness: 2px; }
.trust__more {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 1.75rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gr-navy-2);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.trust__more svg { transition: transform 320ms var(--gr-ease); }
.trust__more:hover { color: var(--gr-navy); }
.trust__more:hover svg { transform: translateX(4px); }

/* ============ Close ============ */
.about-close { background: var(--gr-paper); padding: clamp(5rem, 10vw, 8rem) var(--gr-gutter); }
.about-close__inner {
  position: relative;
  max-width: var(--gr-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1.5rem clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding-top: 2.5rem;
  border-top: 1px solid var(--gr-navy);
}
.about-close__inner::before { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; background: var(--gr-navy); }
.about-close h2 {
  grid-row: span 2;
  font-family: var(--gr-display);
  font-weight: 650;
  letter-spacing: -0.035em;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  line-height: 1;
  color: var(--gr-navy);
}
.about-close p { font-size: 1rem; line-height: 1.7; color: var(--gr-ink); max-width: 42ch; }
.about-close__action {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 52px;
  padding: 0 1.5rem;
  background: var(--gr-navy-2);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  text-decoration: none;
  transition: background-color 220ms var(--gr-ease);
}
.about-close__action svg { transition: transform 320ms var(--gr-ease); }
.about-close__action:hover { background: var(--gr-navy); color: #fff; }
.about-close__action:hover svg { transform: translateX(4px); }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .record__inner { grid-template-columns: 1fr; }
  .record__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1.25rem; }
  .record__head h2 { max-width: none; }
  .record__head p { margin-top: 0; max-width: none; }
  .record__list > div:first-child { padding-left: 0; border-left: 0; }
  .member { grid-template-columns: 120px minmax(0, 1fr); }
  .member__photo { width: 120px; height: 120px; }
  .member__bio { grid-column: 2; }
}

@media (max-width: 900px) {
  .hearing__inner,
  .testimony__quotes,
  .approach__head,
  .about-close__inner { grid-template-columns: 1fr; }
  .about-close h2 { grid-row: auto; }
  .hearing__swirl {
    top: -6vw;
    bottom: auto;
    right: -46vw;
    width: 118vw;
    background: linear-gradient(225deg, var(--gr-navy-3) 0%, var(--gr-navy-2) 70%);
  }
  .hearing__title { max-width: 14ch; }
  .hearing__copy { display: contents; }
  .hearing__inner { gap: 0; }
  .hearing__title { order: 1; }
  .witness { order: 2; margin-top: 1.75rem; }
  .hearing__lede { order: 3; margin-top: 2rem; }
  .hearing__action { order: 4; justify-self: start; }
  .testimony__quotes { gap: 2.5rem; }

  .record__list { grid-template-columns: 1fr; }
  .record__list > div { padding: 1rem 0; border-left: 0; border-top: 1px solid rgba(3, 47, 79, 0.28); }
  .record__list > div:first-child { border-top: 0; padding-top: 0.25rem; }

  .approach__doors { grid-template-columns: 1fr; }
  .trust { padding: 3rem 0; }
  .trust--scale { padding: 3rem 0 4rem; border-left: 0; border-top: 1px solid var(--gr-rule); }
}

@media (max-width: 600px) {
  .member { grid-template-columns: 80px minmax(0, 1fr); gap: 1.25rem; }
  .member__photo { width: 80px; height: 80px; }
  .member__id { align-self: center; }
  .member__bio { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .witness__play,
  .witness__play svg,
  .hearing__action svg,
  .trust__more svg,
  .about-close__action svg { transition: none; }
}
