:root {
  --ac-paper: #fdfbee;
  --ac-ink: #050505;
  --ac-coral: #fe4f2d;
  --ac-aqua: #57b4ba;
  --ac-navy: #2a3f56;
  --ac-white: #ffffff;
  --ac-muted: rgba(5, 5, 5, 0.62);
  --ac-rule: rgba(5, 5, 5, 0.16);
  --ac-serif: the-seasons, Georgia, "Times New Roman", serif;
  --ac-sans: mr-eaves-xl-sans, system-ui, -apple-system, "Segoe UI", sans-serif;
}

html {
  background: var(--ac-paper);
}

body {
  background: var(--ac-paper);
  color: var(--ac-ink);
  font-family: var(--ac-sans);
  overflow-x: hidden;
}

.connection-story {
  background: var(--ac-paper);
  overflow: clip;
}

.connection-story a {
  color: var(--ac-navy);
  text-decoration-color: var(--ac-aqua);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.15em;
}

.connection-story a:hover,
.connection-story a:focus-visible {
  color: #b9321a;
  text-decoration-color: var(--ac-coral);
}

.btn-primary {
  color: var(--ink);
  background-color: var(--white);
  border-color: transparent;
  box-shadow: var(--ac-aqua) 4px 4px 0 0, var(--ac-ink) 4px 4px 0 1px;
  font-size: 1.125rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
  &:hover,
  &:active,
  &:focus-visible {
    border-color: transparent;
    box-shadow: none;
    transform: translate(4px, 4px);
  }
}

.connection-hero {
  min-height: auto;
  overflow: hidden;
  padding: 10rem 0 8rem; /* for sticky nav */
  position: relative;
  background: var(--ac-navy);
}

.hero-shell {
  position: relative;
  z-index: 2;
}

.hero-copy {
  padding-bottom: 1rem;
}

.story-kicker,
.story-byline,
.collaboration,
.story-figure figcaption,
.quote-scene cite,
.quote-fragment cite {
  letter-spacing: 0;
}

.story-kicker {
  color: var(--ac-white);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
  text-transform: uppercase;
}

.connection-hero h1 {
  color: var(--ac-white);
  font-family: var(--ac-serif);
  font-size: 4.8rem;
  font-weight: 400;
  line-height: 0.89;
  margin: 0;
  max-width: 7.5em;
}

.story-byline {
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .12em;
  margin: 1.8rem 0 0;
  text-transform: uppercase;
  color: var(--ac-white);
}

.collaboration {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.92rem;
  gap: 0.25rem 0.55rem;
  line-height: 1.3;
  margin-top: 2.5rem;
  max-width: 31rem;
  color: var(--ac-white);
}

.collaboration > span:first-child {
  color: var(--ac-white);
  flex-basis: 100%;
  text-transform: uppercase;
  font-size: 24px;
  border-top: 2px solid var(--ac-aqua);
  padding: 10px 0;
}

.collaboration span {
  padding: 0 10px 0 15px;
  font-size: 24px;
}

.story-figure {
  margin: 0;
}

.image-window {
  overflow: hidden;
  position: relative;
}

.image-window picture {
  display: block;
  height: 100%;
  width: 100%;
}

.image-window img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-figure {
  margin-left: auto;
  max-width: 34rem;
  position: relative;
}

.image-window {
  aspect-ratio: 4 / 3;
  /*border-radius: 4px 4px 0 0;*/
}

.hero-figure img {
  object-position: 51% center;
}

figcaption {
  color: var(--ac-white);
  font-size: 1.125rem;
  line-height: 1.38;
  padding: .8rem 1rem;
  background: var(--ac-ink);
  z-index: 1;
  /*border-radius: 0 0 4px 4px;*/
}

.hero-accent {
  position: absolute;
  z-index: 0;
}

.hero-accent--aqua {
  background: var(--ac-aqua);
  height: 5rem;
  right: -2rem;
  top: 4rem;
  transform: rotate(7deg);
  width: 12rem;
}

.hero-accent--coral {
  display: none;
}

.hero-connection {
  display: none;
}

.hero-connection path {
  fill: none;
  stroke: var(--ac-coral);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.hero-connection circle {
  fill: var(--ac-aqua);
  stroke: var(--ac-paper);
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
}

.article-body {
  position: relative;
}

.opening-section {
  padding: 3rem 0 3rem;
}

.story-copy {
  font-size: 1.25rem;
  line-height: 1.65;
}


.story-copy p:last-child {
  margin-bottom: 0;
}

.story-copy--opening > p:first-child {
  font-family: var(--ac-serif);
  font-size: 1.75rem;
  line-height: 1.35;
  margin-bottom: 2.2rem;
}

.quote-scene {
  background: var(--ac-aqua);
  color: var(--ac-white);
  min-height: auto;
  overflow: hidden;
  position: relative;
}

.quote-wash {
  background: var(--ac-navy);
  inset: 0;
  position: absolute;
  transform: scaleX(0.32);
  transform-origin: left center;
}

.quote-scene__inner {
  align-items: center;
  display: flex;
  min-height: 30rem;
  padding-top: 1rem;
  padding-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.quote-scene blockquote {
  margin: 0 auto;
  max-width: 60rem;
  position: relative;
}

.quote-scene blockquote p {
  font-family: var(--ac-serif);
  font-size: 3.2rem;
  line-height: 1.06;
  margin: 0;
}

.quote-scene cite,
.quote-fragment cite {
  display: block;
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 700;
  margin-top: 2rem;
  text-transform: uppercase;
}

.quote-mark {
  display: none;
}

.quote-route {
  bottom: 0;
  height: 8rem;
  left: 0;
  position: absolute;
  width: 100%;
}

.quote-route path {
  fill: none;
  stroke: var(--ac-coral);
  stroke-width: 4;
  vector-effect: non-scaling-stroke;
}

.wide-photo-wrap {
  margin-top: -3rem;
  position: relative;
  z-index: 3;
}

.story-figure--wide {
  margin: 2rem auto;
  max-width: 69rem;
}

.story-figure--wide .image-window {
  aspect-ratio: 2 / 1;
}

.story-figure--wide img {
  object-position: center 67%;
}

.guides-section {
  padding: 3rem 0;
}

.section-lead {
  color: var(--ac-navy);
  font-family: var(--ac-serif);
  font-size: 3rem;
  line-height: 1.3;
  margin: 0 0 6rem;
  text-align: center;
}

.profile {
  position: relative;
}

.profile-figure {
  position: static;
  padding-bottom: 2rem;
}

.profile-figure .image-window {
  aspect-ratio: 2 / 1;
}

.profile-copy > p.intro {
  font-family: var(--ac-serif);
  font-size: 1.65rem;
  line-height: 1.35;
  padding-top: 30px;
}

.student-section-image-quotes {
  background: var(--ac-aqua);
  color: var(--ac-white);
  padding: 3rem 0;
}

.student-section {
  padding: 3rem 0;
}


.kawanami-scene {
  display: flex;
  gap: 2rem;
  overflow: clip;
}

.kawanami-figure {
  flex-basis: 70%;
  z-index: 1;
}

.kawanami-figure .image-window {
  aspect-ratio: 8 / 5;
}

.kawanami-figure img {
  object-position: center 55%;
}

.quote-fragment {
  align-self: center;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.quote-fragment blockquote {
  margin: 0;
}

.quote-fragment p {
  font-family: var(--ac-serif);
  font-size: 1.75rem;
  line-height: 1.08;
  margin: 0;
}

.quote-fragment--one {
  flex-basis: 30%;
  background: var(--ac-white);
  color: var(--ac-ink);
  margin: 0;
  box-shadow: 6px 6px 0 var(--ac-coral);
  border: 1px solid var(--ac-coral);
}

.quote-fragment--two {
  background: var(--ac-white);
  color: var(--ac-ink);
  align-self: end;
  margin: 0;
  box-shadow: 6px 6px 0 var(--ac-navy);
  border: 1px solid var(--ac-navy);
}


.cois-figure {
  margin: 7rem auto 0;
  max-width: 60rem;

}

.cois-figure .image-window {
  aspect-ratio: 8 / 5;
  /*box-shadow: 8px 8px 0 var(--ac-navy);*/
}

.cois-figure img {
  object-position: 55% 52%;
}

.closing-section {
  padding: 7rem 0 10rem;
}

.closing-copy {
  padding: 2rem 0 0;
}

.closing-copy > p:last-child {
  color: var(--ac-coral);
  font-family: var(--ac-serif);
  font-size: 2.15rem;
  line-height: 1.2;
  margin-top: 3.5rem;
}

.closing-rule {
  align-items: center;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto 1fr;
  margin: 3rem auto;
}

.closing-rule span {
  background: var(--ac-ink);
  height: 1px;
}

.closing-rule i {
  background: var(--ac-aqua);
  display: block;
  height: 1rem;
  transform: rotate(45deg);
  width: 1rem;
}

@media (min-width: 1200px) {
  .connection-hero h1 {
    font-size: 5rem;
  }

  .quote-scene blockquote p {
    font-size: 3.5rem;
  }
}

@media (max-width: 991.98px) {
  .connection-hero {
    min-height: auto;
    padding: 5rem 0 7rem;
  }

  .connection-hero h1 {
    font-size: 4.8rem;
  }

  .hero-figure {
    margin: 2rem auto 0;
    max-width: 100%;
  }

  .hero-figure .image-window {
    aspect-ratio: 4 / 3;
  }

  .section-lead {
    font-size: 3.15rem;
  }

  .profile-figure {
    position: static;
  }

  .profile-copy {
    margin-top: 2rem;
  }

  .quote-fragment p {
    font-size: 1.85rem;
  }
}

@media (max-width: 767.98px) {
  .connection-hero {
    padding: 5rem 0 5.5rem;
  }

  .connection-hero h1 {
    font-size: 3.6rem;
    line-height: 0.94;
  }

  .collaboration {
    margin-top: 2rem;
  }

  .hero-accent--aqua {
    height: 3.5rem;
    right: -4rem;
    top: 2rem;
    width: 10rem;
  }

  .story-copy {
    font-size: 1.13rem;
    line-height: 1.63;
  }

  .story-copy--opening > p:first-child {
    font-size: 1.45rem;
  }

  .quote-scene,
  .quote-scene__inner {
    min-height: auto;
  }

  .quote-scene__inner {
    min-height: 36rem;
    padding-bottom: 5rem;
    padding-top: 5rem;
  }

  .quote-scene blockquote p {
    font-size: 2.45rem;
    line-height: 1.04;
  }

  .wide-photo-wrap {
    margin-top: -2.5rem;
  }

  .story-figure--wide .image-window,
  .kawanami-figure .image-window,
  .cois-figure .image-window {
    aspect-ratio: 4 / 3;
  }

  .story-figure--wide .image-window,
  .cois-figure .image-window {
    /*box-shadow: 8px 8px 0 var(--ac-coral);*/
  }

  .section-lead {
    font-size: 2.55rem;
    line-height: 1.03;
    margin-bottom: 5rem;
  }
  .profile + .profile {
    padding-top: 5rem;
  }

  .profile--walter .profile-figure .image-window,
  .profile--sorensen .profile-figure .image-window {
    /*box-shadow: 8px 8px 0 var(--ac-aqua);*/
  }

  .kawanami-scene {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .kawanami-figure {
    order: 1;
  }

  .quote-fragment {
    grid-column: auto;
    margin: 0;
    max-width: 100%;
    padding: 2rem 1.5rem;
    transform: none;
  }

  .quote-fragment--one {
    order: 2;
  }

  .quote-fragment--two {
    align-self: flex-end;
    order: 3;
    width: 88%;
  }

  .quote-fragment p {
    font-size: 1.9rem;
  }

  .cois-figure {
    margin-top: 5rem;
  }

  .closing-section {
    padding: 6rem 0 8rem;
  }

  .closing-copy > p:last-child {
    font-size: 1.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-progress,
  .hero-connection,
  .quote-route {
    display: none;
  }

  [data-copy-reveal],
  [data-photo-reveal],
  [data-section-lead],
  [data-quote-text] {
    opacity: 1 !important;
    transform: none !important;
  }
}
