@font-face {
  font-family: Avenir;
  src: url("/fonts/AvenirNext/AvenirNextLTPro-Regular.otf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: Avenir;
  src: url("/fonts/AvenirNext/AvenirNextLTPro-Demi.otf") format("opentype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Avenir;
  src: url("/fonts/AvenirNext/AvenirNextLTPro-It.otf") format("opentype");
  font-style: italic;
  font-display: swap;
}
:root {
  --paper: #fafaf8;
  --ink: #19191a;
  --blue: #233de1;
  --muted: #505050;
  --line: #cececa;
  --gutter: clamp(1.25rem, 4vw, 5rem);
  color: var(--ink);
  background: var(--paper);
  font: 400 100%/1.5 Avenir, "Helvetica Neue", Arial, sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body,
h1,
h2,
h3,
p {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-underline-offset: 0.26em;
}
button {
  font: inherit;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}
.wrap {
  width: calc(100% - 2 * var(--gutter));
  max-width: 94rem;
  margin-inline: auto;
}
.skip {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  top: 0.5rem;
  padding: 0.7rem 1rem;
  background: white;
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}
.masthead,
.masthead nav,
.footer-inner {
  display: flex;
  align-items: center;
}
.masthead {
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  min-height: 5rem;
}
.logo {
  display: grid;
  align-items: center;
  min-height: 44px;
}
.logo img {
  width: 3.4rem;
  height: auto;
  filter: brightness(0);
}
.masthead nav {
  gap: clamp(1rem, 2.5vw, 2.6rem);
}
nav a,
footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-size: 0.9375rem;
}
nav a:hover,
footer a:hover {
  text-decoration: underline;
}
nav .contact-link {
  min-height: 44px;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  background: var(--ink);
  color: white;
}
nav .contact-link:hover {
  background: var(--blue);
  text-decoration: none;
}
.intro {
  display: grid;
  grid-template-columns: 2.45fr 1fr;
  align-items: end;
  gap: 5%;
  padding-block: clamp(2.75rem, 5vw, 5.25rem) clamp(2.5rem, 4.6vw, 5rem);
}
.eyebrow {
  font-size: 0.78rem;
  line-height: 1.4;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.intro .eyebrow,
.studio .eyebrow {
  color: var(--blue);
}
h1,
h2,
h3 {
  font-weight: 600;
}
h1 {
  font-size: clamp(3.25rem, 6.6vw, 7.2rem);
  letter-spacing: -0.055em;
  line-height: 1.02;
  margin-top: 1.1rem;
}
em {
  font-weight: 400;
}
h1 em {
  color: var(--blue);
}
.intro-note {
  max-width: 23rem;
  font-size: clamp(1.05rem, 1.36vw, 1.37rem);
  line-height: 1.48;
  letter-spacing: -0.025em;
  margin-bottom: 0.3rem;
}
.work-bar {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}
.work-bar h2 {
  font-size: 1rem;
  letter-spacing: -0.03em;
}
.switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.switcher button {
  border: 0;
  border-radius: 2rem;
  padding: 0.4rem 1rem;
  min-height: 44px;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.9375rem;
}
.switcher button:hover {
  background: #ebebe7;
  color: var(--ink);
}
.switcher [aria-selected="true"] {
  background: var(--ink);
  color: white;
}
.project {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  min-height: 24rem;
  height: clamp(24rem, 35vw, 36rem);
  background: var(--panel);
  color: var(--type);
}
.project + .project {
  margin-top: 1rem;
}
.work:has(.switcher:not([hidden])) .project {
  margin-top: 0;
}
.banh {
  --panel: #681d17;
  --type: #fff5ea;
}
.jb {
  --panel: #dadfd7;
  --type: #1b2a24;
}
.kuna {
  --panel: #f3dda8;
  --type: #46241f;
}
.chile {
  --panel: #421523;
  --type: #fff3ef;
}
.chile .art {
  background: #d7c7c4;
}
.chile .art img {
  object-fit: contain;
}
.project-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.9rem, 3.6vw, 4.2rem);
}
.project h3 {
  font-size: clamp(3.15rem, 5.85vw, 6.4rem);
  line-height: 1.04;
  letter-spacing: -0.052em;
}
.project-copy div p {
  max-width: 29rem;
  font-size: clamp(1rem, 1.25vw, 1.28rem);
  line-height: 1.5;
  margin-top: 0.9rem;
}
.project a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  margin-top: 0.5rem;
}
.art {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banh .art img {
  object-position: 50% 32%;
}
.jb .art {
  background: white;
}
.jb .art img,
.kuna .art img {
  object-fit: contain;
}
.kuna .art {
  background: #f9f4ef;
}
@media (prefers-reduced-motion: no-preference) {
  [role="tabpanel"]:not([hidden]) .art img {
    animation: settle 0.45s ease-out;
  }
  @keyframes settle {
    from {
      opacity: 0.76;
      transform: scale(1.015);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
.studio {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 10%;
  padding-block: clamp(4rem, 8vw, 9rem);
}
.studio-lead h2,
.contact h2,
.error h1 {
  font-size: clamp(2.55rem, 4.1vw, 4.8rem);
  line-height: 1.07;
  letter-spacing: -0.06em;
}
.studio-lead h2 {
  margin-block: 1.2rem;
}
.studio-lead > p:last-child {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.09rem;
}
.services > div {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}
.services > div:last-child {
  border-bottom: 1px solid var(--line);
}
.services h3 {
  font-size: clamp(1.35rem, 2vw, 2.1rem);
  letter-spacing: -0.05em;
}
.services p {
  margin-top: 0.35rem;
  max-width: 34rem;
  color: var(--muted);
}
.contact,
footer {
  background: var(--blue);
  color: white;
}
.contact {
  padding-block: clamp(3rem, 5.2vw, 6rem);
}
.contact-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1.25rem;
}
.contact h2 {
  font-size: clamp(3.25rem, 6.5vw, 7.2rem);
}
.contact-row a {
  font-size: clamp(1.35rem, 2.6vw, 2.7rem);
  letter-spacing: -0.045em;
  text-decoration-thickness: 0.06em;
  margin-bottom: 0.3rem;
}
.footer-inner {
  gap: 1.5rem;
  padding-block: 1.25rem;
  border-top: 1px solid #ffffff65;
  font-size: 0.875rem;
}
.footer-inner img {
  width: 2.9rem;
  height: auto;
}
.footer-inner a {
  margin-left: auto;
}
.error {
  padding-block: 6rem;
}
.error h1 {
  margin-block: 1rem;
}
.error a {
  display: inline-block;
  margin-top: 1.5rem;
}
@media (max-width: 48rem) {
  .intro {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  h1 {
    font-size: clamp(3.2rem, 8.5vw, 5rem);
  }
  .intro-note {
    max-width: 32rem;
    margin: 0;
  }
  .studio {
    gap: 6%;
  }
}
@media (max-width: 42rem) {
  .masthead {
    min-height: 4.2rem;
  }
  .logo img {
    width: 2.8rem;
  }
  nav .contact-link {
    padding-inline: 0.9rem;
  }
  .intro {
    padding-block: 2.55rem 2rem;
  }
  h1 {
    font-size: clamp(2.68rem, 9.7vw, 4.2rem);
    margin-top: 0.8rem;
  }
  .intro-note {
    font-size: 1rem;
    max-width: 30rem;
  }
  .work-bar {
    flex-wrap: wrap;
    gap: 0.25rem 0.7rem;
    padding-block: 0.5rem;
  }
  .switcher {
    gap: 0.05rem;
  }
  .switcher button {
    font-size: 0.8125rem;
    padding-inline: 0.66rem;
  }
  .project {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }
  .art {
    grid-row: 1;
    aspect-ratio: 1.62;
  }
  .project-copy {
    padding: 1.25rem 1.4rem 1.6rem;
    gap: 0.6rem;
  }
  .project h3 {
    font-size: 2.55rem;
  }
  .project-copy div p {
    margin-top: 0.4rem;
  }
  .studio {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 3.7rem;
  }
  .studio-lead > p:last-child {
    font-size: 1rem;
  }
  .contact-row {
    flex-direction: column;
    align-items: start;
    gap: 1.4rem;
  }
  .footer-inner {
    gap: 1rem;
  }
}
@media (max-width: 22rem) {
  .work-bar {
    align-items: flex-start;
    flex-direction: column;
  }
  nav a {
    font-size: 0.86rem;
  }
}

@media (max-width: 29rem) {
  .work-bar {
    align-items: flex-start;
    flex-direction: column;
  }
  .switcher {
    width: 100%;
    justify-content: space-between;
  }
}
@media (max-width: 22rem) {
  .switcher {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
