.section-label {
  margin: 0 0 18px;
  color: #6b6761;
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
}

.site-header nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

#contact-title,
#experience-title,
#capabilities-title,
#testimonials-title {
  scroll-margin-top: 70px;
}

.about-editorial-hero {
  display: grid;
  min-height: 82svh;
  grid-template-columns: minmax(0, 760px) minmax(280px, 380px);
  gap: clamp(54px, 6vw, 90px);
  align-items: center;
  justify-content: center;
  padding: 140px 0 88px;
}

.about-editorial-hero__copy {
  min-width: 0;
}

.about-editorial-hero h1 {
  max-width: none;
  margin: 0;
  font-family: var(--display);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.08;
}

@media (min-width: 1280px) {
  .about-editorial-hero h1 { white-space: nowrap; }
}

.about-lead {
  max-width: 750px;
  margin: clamp(32px, 5vh, 54px) 0 0;
  color: #4b4742;
  font-family: var(--display);
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.45;
}

.about-editorial-portrait {
  width: min(100%, 380px);
  aspect-ratio: 4 / 5;
  justify-self: end;
  margin: 0;
  overflow: hidden;
  background: #292621;
}

.about-editorial-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 58%;
  filter: saturate(.72) contrast(.95) brightness(.97);
  transform: scale(1.5);
  transform-origin: 48% 58%;
}

.about-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding: 36px 0;
  border-top: 1px solid #d4d0c9;
  border-bottom: 1px solid #d4d0c9;
}

.about-contact .section-label {
  margin-bottom: 8px;
}

.about-contact h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(25px, 3vw, 39px);
  font-weight: 400;
}

.about-contact h2 a {
  position: relative;
}

.about-contact h2 a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms var(--ease-out);
}

.about-contact h2 a:hover::after,
.about-contact h2 a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.about-socials {
  display: flex;
  gap: 9px;
}

.about-socials a {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #c7c2ba;
  color: #4b4742;
  transition: color 180ms ease, background 180ms ease, transform 180ms var(--ease-out);
}

.about-socials a:hover,
.about-socials a:focus-visible {
  color: #f1f0ec;
  background: #292621;
}

.about-socials a:active {
  transform: scale(.96);
}

.about-socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.experience__heading h2,
.capabilities-section h2,
.testimonials h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.06;
}

.experience {
  padding: 28px 0 122px;
}

.experience__heading {
  padding: 60px 0 44px;
  border-top: 1px solid #d4d0c9;
}

.experience__heading h2 {
  font-size: 42px;
}

.experience__list {
  border-bottom: 1px solid #d4d0c9;
}

.experience-row {
  border-top: 1px solid #d4d0c9;
}

.experience-row summary {
  display: grid;
  grid-template-columns: minmax(110px, .18fr) minmax(0, .51fr) minmax(180px, .25fr) 28px;
  gap: 30px;
  align-items: baseline;
  padding: 32px 0;
  cursor: pointer;
  list-style: none;
}

.experience-row summary::-webkit-details-marker {
  display: none;
}

.experience-row__year,
.experience-row__role {
  color: #6b6761;
  font-size: 12px;
  line-height: 1.45;
}

.experience-row__role {
  text-align: right;
}

.experience-row h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 400;
  line-height: 1.05;
  transition: transform 220ms var(--ease-out);
}

.experience-row__toggle {
  justify-self: end;
  color: #5a382b;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  transition: transform 220ms var(--ease-out);
}

.experience-row[open] .experience-row__toggle {
  transform: rotate(45deg);
}

.experience-row__details {
  max-width: 730px;
  margin-left: calc(18% + 30px);
  padding: 0 24px 30px 0;
}

.experience-row__details p {
  max-width: 700px;
  margin: 0 0 10px;
  color: #6b6761;
  font-size: 15px;
  line-height: 1.55;
}

.experience-row__details a {
  display: inline-block;
  margin-top: 12px;
  border-bottom: 1px solid currentColor;
  color: #5a382b;
  font-size: 14px;
}

@media (hover: hover) and (pointer: fine) {
  .experience-row summary:hover h3,
  .experience-row summary:focus-visible h3 {
    transform: translateX(8px);
  }
}

.experience-row summary:focus-visible,
.experience-row__details a:focus-visible,
.about-contact a:focus-visible {
  outline: 2px solid #5a382b;
  outline-offset: 5px;
}

.capabilities-section {
  display: grid;
  grid-template-columns: minmax(260px, .36fr) minmax(0, .64fr);
  gap: clamp(52px, 8vw, 120px);
  padding: 78px 0 112px;
  border-top: 1px solid #d4d0c9;
}

.capabilities-section h2 {
  max-width: 460px;
  font-size: clamp(36px, 4vw, 52px);
}

.capabilities-section ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #d4d0c9;
}

.capabilities-section li {
  padding: 17px 0;
  border-bottom: 1px solid #d4d0c9;
  color: #6b6761;
  font-size: 14px;
  line-height: 1.5;
}

.testimonials {
  padding: 84px 0 120px;
  border-top: 1px solid #d4d0c9;
}

.testimonials__heading {
  display: grid;
  grid-template-columns: minmax(140px, .24fr) minmax(0, .76fr);
  gap: 32px;
  align-items: baseline;
  margin-bottom: 56px;
}

.testimonials__heading .section-label {
  margin: 0;
}

.testimonials h2 {
  font-size: clamp(38px, 4.8vw, 64px);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 30px;
}

.testimonial {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid #aaa49a;
  background: #e6e1d8;
  box-shadow: 8px 8px 0 #596252;
}

.testimonial--lead {
  grid-column: 1 / -1;
  min-height: 330px;
  background: #e3d7ca;
  box-shadow: 10px 10px 0 #4b3a31;
}

.testimonial blockquote {
  margin: 0;
  color: #292621;
  font-family: var(--display);
  font-size: clamp(19px, 1.6vw, 25px);
  line-height: 1.42;
}

.testimonial--lead blockquote {
  max-width: 1500px;
  font-size: clamp(25px, 2.35vw, 38px);
  line-height: 1.34;
}

.testimonial blockquote::before {
  content: "\201C";
}

.testimonial blockquote::after {
  content: "\201D";
}

.testimonial blockquote strong {
  font-weight: 700;
}

.testimonial footer {
  display: grid;
  gap: 4px;
  margin-top: 42px;
  color: #6b6761;
  font-size: 12px;
  line-height: 1.45;
}

.testimonial footer a {
  width: fit-content;
  border-bottom: 1px solid currentColor;
  color: #292621;
  font-size: 15px;
  font-weight: 700;
}

.testimonial footer a:focus-visible {
  outline: 2px solid #5a382b;
  outline-offset: 5px;
}

.testimonial__relationship {
  color: #807a72;
}

@media (max-width: 900px) {
  .about-editorial-hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(250px, .62fr);
    gap: 44px;
    justify-content: stretch;
    padding: 132px 0 80px;
  }

  .about-editorial-hero h1 {
    font-size: 40px;
  }

  .capabilities-section {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .testimonials__heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .testimonial--lead {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 350px;
  }

  .experience-row summary {
    grid-template-columns: 90px minmax(0, 1fr) 28px;
  }

  .experience-row__role {
    grid-column: 2;
    text-align: left;
  }

  .experience-row__toggle {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .experience-row__details {
    margin-left: 120px;
  }
}

@media (max-width: 600px) {
  .about-editorial-hero {
    grid-template-columns: 1fr;
    gap: 46px;
    padding: 112px 0 58px;
  }

  .about-editorial-hero h1 {
    font-size: 36px;
  }

  .about-lead {
    margin-top: 34px;
    font-size: 19px;
  }

  .about-editorial-portrait {
    width: min(82%, 340px);
  }

  .about-contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 26px;
  }

  .about-contact h2 {
    overflow-wrap: anywhere;
    font-size: 26px;
  }

  .experience {
    padding-bottom: 80px;
  }

  .experience__heading {
    padding: 48px 0;
  }

  .experience__heading h2 {
    font-size: 34px;
  }

  .experience-row summary {
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 8px 12px;
    padding: 28px 0;
  }

  .experience-row__year,
  .experience-row__role {
    grid-column: 1;
  }

  .experience-row h3 {
    grid-column: 1;
    grid-row: 2;
  }

  .experience-row__role {
    grid-row: 3;
  }

  .experience-row__toggle {
    grid-column: 2;
    grid-row: 1 / 4;
  }

  .experience-row__details {
    margin-left: 0;
  }

  .capabilities-section {
    gap: 34px;
    padding: 60px 0 78px;
  }

  .capabilities-section ul {
    grid-template-columns: 1fr;
  }

  .testimonials {
    padding: 62px 0 84px;
  }

  .testimonials__heading {
    margin-bottom: 38px;
  }

  .testimonials h2 {
    font-size: 38px;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .testimonial,
  .testimonial--lead {
    min-height: 0;
    padding: 28px 24px;
    box-shadow: 6px 6px 0 #596252;
  }

  .testimonial--lead {
    box-shadow: 6px 6px 0 #4b3a31;
  }

  .testimonial--lead blockquote,
  .testimonial blockquote {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .experience-row h3,
  .about-contact h2 a::after {
    transition: none;
  }
}
