/* About Rimobit: the homepage's palette, type and shared site layout. */
.about-introduction {
  color: #f8f8f2;
  background: #10120f;
  overflow: hidden;
}
.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 60px;
  min-height: 660px;
  align-items: center;
  padding-top: 55px;
}
.about-intro-copy {
  min-width: 0;
  padding-block: 30px 65px;
}
.about-intro-copy .eyebrow {
  color: #a8c49e;
  margin-bottom: 30px;
}
.about-intro-copy h1 {
  font-size: clamp(66px, 7.6vw, 108px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.065em;
}
.about-intro-copy h1 span {
  display: block;
  color: #42c975;
}
.about-intro-copy > p:not(.eyebrow) {
  max-width: 540px;
  color: #bac7b2;
  margin-top: 30px;
  font-size: 18px;
  line-height: 1.8;
}
.about-intro-copy .underlined-link {
  margin-top: 35px;
  border-color: #788e6b;
  color: #edf4e7;
}
.about-intro-portrait {
  position: relative;
  align-self: stretch;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  isolation: isolate;
}
.about-portrait-letter {
  position: absolute;
  z-index: -1;
  right: 0;
  top: 9%;
  font: 500 clamp(280px, 33vw, 480px)/1 var(--display);
  letter-spacing: -0.08em;
  color: transparent;
  -webkit-text-stroke: 1px #52684a;
  user-select: none;
}
.about-intro-portrait > img {
  width: auto;
  max-width: 100%;
  height: 610px;
  object-fit: contain;
  object-position: bottom;
  filter: grayscale(1);
}
.about-portrait-caption {
  position: absolute;
  right: 0;
  bottom: 30px;
  left: 35%;
  padding: 18px 22px;
  border-left: 2px solid #42c975;
  background: #10120f;
  font-size: 18px;
}
.about-portrait-caption strong {
  display: block;
  font-weight: 500;
  margin-bottom: 4px;
}
.about-portrait-caption span {
  color: #b6c5ad;
}
.about-page-index {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-block: 26px;
  border-top: 1px solid #374330;
  font-size: 18px;
}
.about-page-index p {
  color: #a7b39c;
}
.about-page-index nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.about-page-index a:hover {
  color: #6ed695;
}
.about-editorial {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 95px;
  align-items: start;
}
.about-editorial h2,
.about-page .section-heading h2 {
  font-size: clamp(40px, 4.7vw, 64px);
  font-weight: 500;
}
.about-story-copy {
  max-width: 680px;
}
.about-story-copy > p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}
.about-story-copy .about-story-lead {
  color: var(--ink);
  font-size: 23px;
  line-height: 1.55;
}
.about-story-email {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: var(--green);
  font-size: 22px;
  margin-top: 10px;
  border-bottom: 1px solid #8da184;
  padding-bottom: 6px;
  overflow-wrap: anywhere;
}
.about-story-email .icon {
  flex-shrink: 0;
}
.about-working {
  background: #eeeee7;
}
.about-working-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 45px;
}
.about-working-item {
  padding-top: 24px;
  border-top: 1px solid #a6b49f;
}
.about-working-number {
  display: block;
  color: #6b7864;
  font-size: 18px;
  margin-bottom: 27px;
}
.about-working-item h3 {
  font-size: 29px;
  margin-bottom: 20px;
  line-height: 1.15;
}
.about-working-item p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.8;
}
.about-team {
  background: #10120f;
  color: #eef3e8;
}
.about-team .section-heading {
  align-items: end;
}
.about-team .section-heading > div {
  display: block;
}
.about-team .eyebrow {
  color: #acbd9f;
}
.about-team .section-heading > p {
  max-width: 440px;
  color: #b7c6ad;
  font-size: 18px;
  line-height: 1.8;
}
.about-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.about-team-member {
  min-width: 0;
}
.about-team-art {
  height: 290px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #54674a;
  border-radius: 4px;
  background: #1c3022;
  color: #adc99b;
}
.about-team-art::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  opacity: 0.25;
  border-radius: 50%;
}
.about-team-art > span {
  position: relative;
  font: 500 95px/1 var(--display);
  letter-spacing: -0.07em;
}
.about-team-art > svg {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 32px;
  height: 32px;
  opacity: 0.65;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}
.about-team-nitish .about-team-art {
  background: #303727;
  color: #ced5a2;
}
.about-team-nitish .about-team-art::before {
  border-radius: 3px;
  width: 57%;
  transform: rotate(-15deg);
}
.about-team-aditya .about-team-art {
  background: #283d4a;
  color: #bdd7dd;
}
.about-team-aditya .about-team-art::before {
  width: 70%;
  border-radius: 46% 54% 45% 55%;
  transform: rotate(25deg);
}
.about-team-member h3 {
  font-size: 30px;
  margin-top: 25px;
  line-height: 1.15;
}
.about-team-role {
  color: #cfddc5;
  font-size: 18px;
  margin-top: 10px;
}
.about-team-member > p:last-child {
  color: #aabb9e;
  font-size: 18px;
  margin-top: 20px;
  line-height: 1.75;
}
.about-team-note {
  margin-top: 45px;
  padding-top: 25px;
  border-top: 1px solid #3b4c33;
  color: #c0d0b6;
  font-size: 18px;
  max-width: 900px;
}
.about-expertise-list {
  border-top: 1px solid var(--line);
}
.about-expertise-row {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 35px;
  padding-block: 27px;
  border-bottom: 1px solid var(--line);
}
.about-expertise-row h3 {
  font-size: 28px;
  line-height: 1.2;
}
.about-expertise-row p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.75;
}
.about-product {
  background: #e5ebdf;
}
.about-product-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}
.about-product-copy > img {
  width: 240px;
  height: auto;
  margin-bottom: 35px;
}
.about-product-copy h2 {
  font-size: clamp(40px, 4.5vw, 61px);
  font-weight: 500;
}
.about-product-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  margin-top: 25px;
}
.about-product-copy .underlined-link {
  margin-top: 30px;
}
.about-product-image {
  border-radius: 4px;
  overflow: hidden;
}
.about-product-image img {
  width: 100%;
  height: auto;
}
.about-project-links {
  margin-top: 65px;
  border-top: 1px solid #bac6b0;
}
.about-project-links > a {
  display: grid;
  grid-template-columns: 150px 1fr 32px;
  gap: 30px;
  align-items: center;
  padding-block: 24px;
  border-bottom: 1px solid #bac6b0;
}
.about-project-links img {
  width: 150px;
  height: auto;
  border-radius: 3px;
}
.about-project-links h3 {
  font-size: 28px;
  margin-bottom: 10px;
}
.about-project-links p {
  font-size: 18px;
  color: var(--muted);
}
.about-project-links .icon {
  width: 28px;
  height: 28px;
}
.about-project-links a:hover h3 {
  color: var(--green);
}
.about-page :focus-visible {
  outline-color: var(--green);
}
.about-introduction :focus-visible,
.about-team :focus-visible {
  outline-color: #6ed695;
}
.site-header .main-navigation > a[aria-current="page"] {
  color: #6ed695;
}
.about-page .section-heading {
  gap: 35px;
}
@media (max-width: 1100px) {
  .about-intro-grid {
    gap: 25px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-intro-copy h1 {
    font-size: clamp(52px, 7vw, 76px);
  }
  .about-intro-portrait > img {
    height: 560px;
  }
  .about-editorial,
  .about-product-grid {
    gap: 45px;
  }
  .about-team-art {
    height: 250px;
  }
  .about-team-member h3 {
    font-size: 27px;
  }
  .about-working-grid {
    gap: 28px;
  }
}
@media (max-width: 760px) {
  .about-intro-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-top: 30px;
  }
  .about-intro-copy {
    padding-block: 20px 35px;
  }
  .about-intro-copy .eyebrow {
    margin-bottom: 23px;
  }
  .about-intro-copy h1 {
    font-size: clamp(46px, 12.5vw, 84px);
  }
  .about-intro-copy > p:not(.eyebrow) {
    margin-top: 25px;
  }
  .about-intro-portrait {
    height: 450px;
    max-width: 430px;
    width: 100%;
    margin-inline: auto;
  }
  .about-intro-portrait > img {
    height: 100%;
  }
  .about-portrait-letter {
    font-size: 330px;
    top: 2%;
    right: 8%;
  }
  .about-portrait-caption {
    left: 35%;
    right: 0;
    bottom: 20px;
    padding: 14px 17px;
  }
  .about-page-index {
    display: block;
    padding-block: 25px;
  }
  .about-page-index nav {
    gap: 18px 25px;
    margin-top: 15px;
  }
  .about-editorial,
  .about-product-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .about-editorial h2,
  .about-page .section-heading h2 {
    font-size: 42px;
  }
  .about-story-copy .about-story-lead {
    font-size: 21px;
  }
  .about-story-email {
    font-size: 20px;
    gap: 10px;
  }
  .about-working-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .about-working-number {
    margin-bottom: 18px;
  }
  .about-working-item h3 {
    margin-bottom: 16px;
  }
  .about-team-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .about-team-art {
    height: 280px;
  }
  .about-team-art > span {
    font-size: 105px;
  }
  .about-team-member h3 {
    font-size: 30px;
  }
  .about-team .section-heading {
    display: block;
  }
  .about-team .section-heading > p {
    margin-top: 25px;
  }
  .about-expertise-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .about-product-copy h2 {
    font-size: 42px;
  }
  .about-project-links {
    margin-top: 40px;
  }
  .about-project-links > a {
    grid-template-columns: 85px 1fr 22px;
    gap: 15px;
  }
  .about-project-links img {
    width: 85px;
  }
  .about-project-links h3 {
    font-size: 25px;
  }
  .about-project-links .icon {
    width: 22px;
    height: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .about-page * {
    scroll-behavior: auto;
  }
}
