.marine-work {
  margin: 3rem 0 4.5rem;
  scroll-margin-top: 6rem;
  color: #eef4f7;
}
.marine-work > h3 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  letter-spacing: -.035em;
}
.marine-project {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid #37484e;
  border-radius: 1.25rem;
  background: #111a20;
}
.marine-project figure {
  position: relative;
  display: grid;
  align-content: center;
  align-self: stretch;
  margin: 0;
  padding: 1.6rem 0 2.2rem;
  background: #201a2d;
}
.marine-project img {
  display: block;
  width: 100%;
  height: auto;
}
.marine-project figcaption {
  position: absolute;
  bottom: .8rem;
  left: 1.15rem;
  color: #d0c8d7;
  font-size: .875rem;
}
.marine-project-copy {
  padding: clamp(1.3rem, 3vw, 2.75rem);
}
.marine-project-copy p {
  margin: 0 0 .85rem;
  color: #c4d1d7;
  font-size: 1rem;
  line-height: 1.65;
}
.marine-project-copy .marine-project-role {
  color: #a5ddd3;
  font-size: .875rem;
}
.marine-project-copy h4 {
  margin: 0 0 1rem;
  color: #f2f6f8;
  font-size: clamp(1.65rem, 2.7vw, 2.5rem);
  letter-spacing: -.035em;
  line-height: 1.13;
}
.marine-project-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: .5rem;
  padding: .65rem 1.1rem;
  border-radius: 2rem;
  background: #a5ddd3;
  color: #0d2522;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.marine-project-link:hover {
  background: #c4eee6;
  color: #0d2522;
  text-decoration: underline;
}
.marine-work-jump {
  color: #a5ddd3;
  text-decoration: underline;
  text-underline-offset: .2em;
  white-space: nowrap;
}
.marine-project-link:focus-visible,
.marine-work-jump:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
@media (max-width: 760px) {
  .marine-project { grid-template-columns: minmax(0, 1fr); }
  .marine-project figure { padding: .25rem 0 2rem; }
}

.marine-work .marine-project + .marine-project { margin-top: 1.5rem; }
.work-links { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.2rem; }
.work-secondary { display: inline-flex; align-items: center; min-height: 44px; color: #b8e9df; font-size: 1rem; text-underline-offset: .23em; }
.work-secondary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.work-brands { grid-column: 1 / -1; padding: 1.2rem clamp(1.25rem,3vw,2.5rem) 1.4rem; background: #101a20; border-top: 1px solid #34444d; }
.work-brands p { margin: 0 0 .8rem; font-weight: 600; font-size: .9rem; color: #d0dedf; }
.work-brands ul { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: .75rem; margin: 0; padding: 0; list-style: none; }
.work-brands li { display: grid; align-content: start; gap: .45rem; padding-left: 1rem; border-left: 1px solid #35474f; min-width: 0; }
.work-brands li:first-child { padding-left: 0; border-left: 0; }
.work-brands img { display: block; width: auto; height: 1.65rem; max-width: 100%; object-fit: contain; object-position: left center; }
.work-brands .work-vision { filter: brightness(0) invert(.95); }
.work-brands span { color: #afc0c6; font-size: .875rem; line-height: 1.4; }
.marine-project.aerial-project figure { padding: 0 0 2.25rem; background: #221e30; }
.aerial-project .marine-project-role { color: #d8c9ee; }
.aerial-project .marine-project-link { background: #e3d2fb; color: #251831; }
.aerial-project .marine-project-link:hover { background: #eddefc; }
@media (min-width: 601px) and (max-width: 1050px) {
  .work-brands ul { grid-template-columns: repeat(3,minmax(0,1fr)); row-gap: 1.1rem; }
  .work-brands li:nth-child(3n+1) { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) {
  .work-brands ul { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 1rem; }
  .work-brands li:nth-child(odd) { padding-left: 0; border-left: 0; }
}

.work-studies { margin-top: clamp(2rem, 5vw, 3.5rem); }
.work-studies h4 { color: #eef4f7; margin: 0 0 1rem; font-size: clamp(1.35rem, 2.1vw, 1.7rem); }
.work-study-grid, .work-course-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.work-study-grid { margin-bottom: 2rem; }
.work-study-card, .work-course-grid li { background: #111a20; border: 1px solid #37484e; border-radius: 1rem; }
.work-study-card { overflow: hidden; }
.work-study-card > img { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.work-study-card > .work-glove-photo { object-position: 50% 47%; }
.work-study-card > .work-gyro-photo { object-position: 50% 61%; }
.work-study-body, .work-course-grid li { padding: clamp(1rem,2vw,1.45rem); }
.work-studies h5 { margin: 0 0 .65rem; color: #f2f6f8; font-size: 1.22rem; line-height: 1.25; letter-spacing: -.015em; }
.work-studies p { margin: 0; color: #c4d1d7; font-size: 1rem; line-height: 1.6; }
.work-studies .work-study-meta { margin: 0 0 .5rem; color: #a5ddd3; font-size: .82rem; font-weight: 600; }
.work-study-body .work-secondary { margin-top: .4rem; }
.work-course-grid { list-style: none; padding: 0; margin: 0; }
#about-profile .education-record { grid-template-columns: auto minmax(0,1fr); }
#about-profile .education-logo { width: 132px; max-width: 100%; align-self: start; justify-self: start; box-sizing: border-box; padding: 8px; border-radius: 6px; background: #fff; }
#about-profile .education-logo img { display: block; width: 100%; max-width: 100%; height: auto; }
@media (max-width: 760px) {
  .work-study-grid, .work-course-grid { grid-template-columns: minmax(0,1fr); }
  #about-profile .education-record { grid-template-columns: minmax(0,1fr); }
  #about-profile .education-logo { width: 108px; }
}

.hydro-project figure { padding: 0 0 2.5rem; background: #141920; }
.hydro-project figcaption { color: #bfcfd9; }
.work-course-grid li { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.work-course-media { position: relative; display: block; background: #0d1419; }
.work-course-media img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.work-media-label { position: absolute; bottom: .65rem; left: .65rem; display: inline-flex; align-items: center; gap: .5rem; min-height: 2rem; padding: .3rem .7rem; border: 1px solid #72838d; border-radius: .4rem; color: #fff; background: #101820f2; font-size: .875rem; font-weight: 600; }
.work-media-video::before { content: ""; border-block: .32rem solid transparent; border-left: .52rem solid #afe8d9; }
.work-course-media:hover .work-media-label, .work-course-media:focus-visible .work-media-label { color: #b1ebdb; text-decoration: underline; }
.work-course-media:focus-visible { outline: 3px solid #b1ebdb; outline-offset: -3px; z-index: 1; }

.mapping-project figure { padding: 0 0 2.2rem; background: #0d1419; }
.mapping-project figure img { aspect-ratio: 20/9; object-fit: contain; }
.work-course-grid { margin-bottom: 2rem; }
.work-makerthon-grid .work-study-card > img { aspect-ratio: 16/9; object-fit: contain; background: #0c141b; }
@media (min-width: 761px) {
  .work-course-grid, .work-makerthon-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

.drone-research figure, .zed-test figure { padding: 0 0 2.5rem; background: #0d1419; }
.zed-test video { display: block; width: 100%; height: clamp(20rem,39vw,29rem); object-fit: contain; background: #090e13; }
.zed-test video:focus-visible, .capstone-photo:focus-visible { outline: 3px solid #a5ddd3; outline-offset: -3px; }
.capstone-photo { display: block; }
.capstone-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; object-position: center 79%; }
@media (min-width: 761px) {
  .work-undergrad-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
