@import url("https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400;1,6..72,500&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;1,400&display=swap");

:root {
  --bg: #f3f0ea;
  --paper: #fffcf7;
  --ink: #141311;
  --muted: #5c5852;
  --line: #d7d1c6;
  --rule: #c4beb3;
  --carolina: #7bafd4;
  --carolina-light: #d3e7f5;
  --carolina-navy: #13294b;
  --home-gutter: clamp(1.5rem, 3vw, 2.5rem);
  --max: 1120px;
  --wide: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Source Sans 3", "Helvetica Neue", sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-color: var(--carolina);
}

a:hover {
  text-decoration-color: var(--carolina-navy);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--paper);
  padding: 0.5rem 0.75rem;
}

.site-header {
  position: relative;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.page-home .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
}

.site-header__inner,
.wrap {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
}

.wide {
  width: min(var(--wide), calc(100% - 3rem));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
}

.page-home .site-header__inner {
  width: 100%;
  padding-right: var(--home-gutter);
  justify-content: flex-end;
}

.wordmark {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
}

.nav a:hover {
  color: var(--ink);
}

.nav a[aria-current="page"] {
  color: var(--carolina);
}

.home {
  width: min(var(--wide), calc(100% - 3rem));
  margin: 0 auto;
  padding: 1.5rem 0 5rem;
}

.page-home .home {
  width: 100%;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.home-intro h1,
.page-title,
.section-title,
.piece h2,
.about h1 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
}

.page-title i,
.piece h2 i {
  font-style: italic;
  font-weight: inherit;
}

.home-intro {
  background: var(--carolina-light);
}

.home-intro__inner {
  padding: 5rem var(--home-gutter) 2.5rem;
}

.home-intro h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  padding-bottom: 1.1rem;
  border-bottom: 2.5px solid var(--carolina-navy);
}

.home-intro p {
  margin: 1.1rem 0 0;
  max-width: 22rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.home-work {
  display: grid;
  gap: 4.5rem;
  padding: 5rem var(--home-gutter) 2.5rem;
}

.piece {
  display: block;
  text-decoration: none;
}

.piece__media {
  position: relative;
  display: block;
  background: #111;
  text-decoration: none;
  overflow: hidden;
}

.piece__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 500ms ease;
}

.piece--film .piece__media img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
}

.piece:hover .piece__media img,
.piece__media:hover img {
  transform: scale(1.02);
}

.piece--site:hover img {
  transform: none;
}

.piece__play {
  position: absolute;
  inset: auto 1rem 1rem auto;
  padding: 0.5rem 0.8rem;
  background: var(--paper);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.piece__play--left {
  inset: auto auto 1rem 1rem;
}

.piece__index {
  margin: 1.15rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.piece h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-top: 0.8rem;
}

.piece h2 a {
  text-decoration: none;
}

.piece p {
  margin: 0.8rem 0 0;
  max-width: 38rem;
  color: var(--muted);
}

.piece--site {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.piece--site .site-logo {
  margin-bottom: 0.15rem;
}

.piece--site .piece__index {
  margin-top: 1.15rem;
  margin-bottom: 0;
}

.piece--site p {
  max-width: 32rem;
}

.site-logo {
  width: 12.5rem;
  height: 12.5rem;
  border-radius: 50%;
  border: 3.5px solid;
  background: var(--paper);
  display: grid;
  place-items: center;
  overflow: hidden;
  text-decoration: none;
  transition: transform 300ms ease;
}

.piece--site:hover .site-logo {
  transform: scale(1.04);
}

.site-logo img {
  width: 56%;
  height: 68%;
  aspect-ratio: auto;
  object-fit: contain;
}

.site-logo--malama {
  border-color: #75a40a;
  background: var(--paper);
}

.site-logo--malama img {
  width: 52%;
  height: 68%;
  object-fit: contain;
}

.site-logo--banks {
  border-color: #3d8f8a;
}

.site-logo--banks img {
  width: 84%;
  height: 72%;
}

.kicker {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer a {
  text-decoration: none;
}

.page-hero {
  padding: 3.5rem 0 1.75rem;
}

.page-title {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}

.byline {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.film {
  background: #111;
}

.film__frame {
  position: relative;
  width: min(var(--wide), 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}

.film__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.story-copy {
  max-width: 42rem;
  margin: 2.5rem auto 3rem;
  padding: 0 1.5rem;
}

.story-copy p + p {
  margin-top: 1rem;
}

.story-copy .story-copy__more {
  margin-top: 1.75rem;
}

.story-copy__more a {
  text-decoration: none;
  border-bottom: 1px solid var(--carolina);
}

.story-copy__more a:hover {
  border-bottom-color: var(--carolina-navy);
}

.photo-stack {
  display: grid;
  gap: 3.5rem;
  padding: 0 0 4.5rem;
  scroll-margin-top: 4.5rem;
}

.photo-block figure {
  margin: 0;
}

.photo-block img {
  width: 100%;
}

.caption {
  margin: 0.7rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 46rem;
}

.about {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 2.5rem;
  padding: 3.5rem 0 5rem;
  align-items: stretch;
}

.about-photo {
  margin: 0;
  position: relative;
}

.about-photo img {
  display: block;
  width: 100%;
  border: 2px solid var(--ink);
}

@media (min-width: 801px) {
  .about-photo {
    min-height: 0;
  }

  .about-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
  }
}

.about p a {
  text-decoration: none;
  border-bottom: 1px solid var(--carolina);
}

.about p a:hover {
  border-bottom-color: var(--carolina-navy);
}

.about h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 1rem;
}

.about h2 {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 500;
  margin: 2rem 0 0.75rem;
  scroll-margin-top: 4.5rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.contact-list a {
  text-decoration: none;
  border-bottom: 1px solid var(--carolina);
}

.contact-list a:hover {
  color: inherit;
  border-bottom-color: var(--carolina-navy);
}

.contact-note {
  color: var(--muted);
  font-size: 0.88rem;
}

@media (min-width: 900px) {
  .page-home .home {
    display: grid;
    grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
  }

  .home-intro__inner {
    position: sticky;
    top: 0;
    padding-top: 5rem;
  }
}

@media (max-width: 800px) {
  .wrap,
  .wide,
  .site-header__inner,
  .home {
    width: min(var(--max), calc(100% - 2rem));
  }

  .page-home .home,
  .page-home .site-header__inner {
    width: 100%;
  }

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