:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #242621;
  background: #fafaf6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.35;
  cursor: default;
}
:is(a, button, select):focus-visible {
  outline: 3px solid #586a24;
  outline-offset: 5px;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
h1 {
  font-size: clamp(56px, 7vw, 106px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 400;
  margin-bottom: 28px;
  text-wrap: balance;
}
h2 {
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
h3 {
  font-size: 25px;
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 400;
}
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 5%;
  border-bottom: 1px solid #dcded4;
  background: #fafaf6;
}
.wordmark {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -1px;
  white-space: nowrap;
}
.wordmark span {
  display: block;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0;
  margin-top: 7px;
  color: #62665a;
}
.site-nav nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12px;
}
.site-nav nav > a {
  padding: 15px 0;
}
.create-button {
  background: #26291f;
  color: #fff;
  border: 0;
  border-radius: 7px;
  min-height: 48px;
  padding: 13px 20px;
  font-size: 12px;
}
.create-button span {
  margin-left: 22px;
}
.composition-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 5%;
  font-size: 10px;
  border-bottom: 1px solid #dcded4;
  color: #62665a;
}
.composition-bar div {
  display: flex;
  gap: 20px;
}
.composition-bar button {
  border: 0;
  background: transparent;
  font-size: 10px;
  min-height: 32px;
  padding: 5px;
}
.page {
  max-width: 1600px;
  margin: auto;
  padding: 0 6% 70px;
}
.page-intro {
  padding: 70px 0 40px;
  max-width: 1000px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  line-height: 1.5;
  margin-bottom: 30px;
}
.lede {
  font-size: 16px;
  line-height: 1.7;
  max-width: 510px;
  color: #5e6358;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  min-height: 52px;
  background: #d7ed87;
  border: 1px solid #bdce80;
  padding: 15px 23px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.text-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
  border-bottom: 1px solid #d6d9cd;
  gap: 15px;
}
.text-link:hover {
  text-decoration: underline;
}
.studio-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 7%;
  align-items: center;
  min-height: 740px;
  padding: 35px 0 70px;
}
.studio-hero h1 {
  font-size: clamp(55px, 6.5vw, 92px);
}
.studio-hero .page-intro {
  padding: 25px 0 8px;
}
.hero-index {
  margin-top: 64px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 480px;
  border-top: 1px solid #d5d9c8;
  padding-top: 16px;
  font-size: 10px;
  color: #686e5e;
}
.featured-project {
  background: #e7ecd9;
  padding: 24px;
  border-radius: 4px;
  transform: rotate(2deg);
}
.feature-label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.project-card {
  min-width: 0;
}
.project-image {
  display: block;
  position: relative;
  background: #eeefe8;
  border: 1px solid #d6d9ce;
  overflow: hidden;
}
.project-image img {
  aspect-ratio: 1.5;
  object-fit: contain;
  transition: transform 0.25s;
}
.project-image:hover img {
  transform: scale(1.025);
}
.image-arrow {
  position: absolute;
  bottom: 12px;
  right: 12px;
  border-radius: 50%;
  background: #fafaf6;
  color: #20251d;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 20px;
  box-shadow: 0 2px 10px #0002;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 17px 0;
  font-size: 10px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}
.project-card h3 {
  margin-bottom: 10px;
}
.project-card p {
  font-size: 12px;
  line-height: 1.7;
  color: #5e6358;
  margin-bottom: 0;
}
.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  padding: 45px 0 30px;
  border-top: 1px solid #d5d9c8;
}
.section-title h2 {
  margin: 0;
}
.section-title p,
.section-title > span {
  font-size: 12px;
  line-height: 1.7;
  color: #656b5e;
}
.studio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 70px;
}
.directory > a {
  display: grid;
  grid-template-columns: 50px 1fr 2fr 24px;
  gap: 20px;
  align-items: center;
  min-height: 85px;
  border-bottom: 1px solid #d9dcd0;
  padding: 18px 0;
}
.directory-number {
  font: 10px monospace;
  color: #727866;
}
.directory strong {
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -0.7px;
}
.directory > a > span:nth-of-type(2) {
  font-size: 13px;
  color: #626a59;
}
.directory > a:hover {
  background: #f0f2e8;
}
.directory b {
  font-weight: 400;
  font-size: 22px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0 20px;
}
.filters button {
  display: flex;
  gap: 24px;
  align-items: center;
  border: 1px solid #cfd3c4;
  background: transparent;
  border-radius: 999px;
  padding: 12px 20px;
  min-height: 46px;
  font-size: 12px;
}
.filters button[aria-pressed="true"] {
  background: #273020;
  color: white;
  border-color: #273020;
}
.filters span {
  font-size: 10px;
  opacity: 0.65;
}
.results-count {
  font-size: 11px;
  color: #626a59;
  margin: 12px 0 28px;
}
.atlas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 55px 30px;
}
.journal {
  border-top: 1px solid #bcbcae;
}
.journal article {
  display: grid;
  grid-template-columns: 110px minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  padding: 50px 0;
  border-bottom: 1px solid #c9c9bb;
}
.journal-margin {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font: 10px monospace;
  color: #737363;
}
.journal article p {
  max-width: 520px;
  font-size: 14px;
  line-height: 1.8;
}
.journal article h2 {
  font-family: Georgia, serif;
}
.journal .eyebrow {
  font-size: 10px;
  margin-bottom: 16px;
}
.journal-image {
  align-self: center;
  border: 1px solid #cbccbf;
}
.journal article:not(:has(.journal-image)) > div:nth-child(2) {
  grid-column: 2/4;
}
.comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
  padding: 10px 0 70px;
}
.comparison article {
  min-width: 0;
}
.comparison label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.comparison select {
  width: 100%;
  min-height: 52px;
  border: 1px solid #bbbfb0;
  border-radius: 0;
  background: transparent;
  padding: 12px;
  font-size: 20px;
  margin-bottom: 26px;
}
.compare-image {
  margin-bottom: 30px;
  border: 1px solid #cfd3c4;
  background: #eeefe8;
}
.compare-image img {
  aspect-ratio: 1.5;
  object-fit: contain;
}
.comparison h2 {
  font-size: 37px;
}
.comparison p {
  line-height: 1.7;
  font-size: 14px;
  min-height: 75px;
}
.comparison dl {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 15px;
  border-top: 1px solid #cfd3c4;
  padding-top: 22px;
  font-size: 12px;
}
.comparison dd {
  margin: 0;
}
.comparison dt {
  color: #626a59;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 65px 45px;
  align-items: start;
}
.gallery-grid .large {
  grid-column: 1/3;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 0 45px;
  align-items: start;
}
.gallery-grid .large .project-image {
  grid-row: 1/5;
}
.gallery-grid .large h3 {
  font-size: 48px;
}
.gallery-grid .large .card-meta {
  margin-top: 0;
}
.gallery-grid .project-card:nth-child(3n) {
  padding-top: 100px;
}
.detail-hero .page-intro {
  max-width: 1100px;
  padding-bottom: 8px;
}
.back-link {
  justify-content: flex-start;
  display: inline-flex;
  margin-top: 30px;
}
.detail-image {
  max-width: 1100px;
  margin: 50px auto;
  background: #e8ecdf;
  padding: 35px;
  border: 1px solid #d5dac9;
}
.detail-image img {
  max-height: 720px;
  object-fit: contain;
}
.detail-bottom {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 15%;
  padding-bottom: 70px;
}
.detail-bottom p {
  line-height: 1.8;
  font-size: 14px;
  max-width: 570px;
}
.about-copy {
  max-width: 700px;
  font-size: 22px;
  line-height: 1.6;
}
.about-copy .text-link {
  margin-top: 30px;
}
.site-footer {
  border-top: 1px solid #d5d9c8;
  padding: 35px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-footer p,
.site-footer > a:last-child {
  font-size: 11px;
  color: #636957;
}
.static-projects {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  padding: 40px 0;
}
.static-projects a {
  padding: 12px;
  border-bottom: 1px solid;
}
#portfolio-app[data-format="journal"] {
  background: #f0ecdf;
  font-family: Georgia, serif;
}
#portfolio-app[data-format="journal"] .site-nav {
  background: #f0ecdf;
}
#portfolio-app[data-format="journal"] h1 {
  font-family: Georgia, serif;
  letter-spacing: -0.055em;
}
#portfolio-app[data-format="gallery"] .page-intro {
  max-width: none;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0 50px;
}
#portfolio-app[data-format="gallery"] .page-intro .eyebrow {
  grid-column: 1/3;
}
#portfolio-app[data-format="gallery"] .lede {
  align-self: end;
  padding-bottom: 20px;
}
#portfolio-app[data-format="compare"] {
  background: #edf1e7;
}
#portfolio-app[data-format="compare"] .site-nav {
  background: #edf1e7;
}
@media (max-width: 900px) {
  .studio-hero {
    gap: 5%;
    min-height: 640px;
  }
  .studio-hero h1 {
    font-size: 65px;
  }
  .atlas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .journal article {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 25px;
  }
  .journal-image {
    grid-column: 2;
  }
  .journal article:not(:has(.journal-image)) > div:nth-child(2) {
    grid-column: 2;
  }
  .comparison {
    gap: 30px;
  }
  .gallery-grid .large h3 {
    font-size: 33px;
  }
  .site-nav nav {
    gap: 18px;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: clamp(49px, 12vw, 72px);
  }
  h2 {
    font-size: 34px;
  }
  .site-nav {
    padding: 17px 5% 13px;
    flex-wrap: wrap;
    gap: 17px;
  }
  .wordmark {
    font-size: 21px;
  }
  .site-nav nav {
    width: 100%;
    justify-content: space-between;
    gap: 20px;
  }
  .site-nav nav > a {
    padding: 12px 0;
  }
  .create-button {
    margin-left: auto;
    min-height: 46px;
    padding: 12px 15px;
  }
  .create-button span {
    margin-left: 14px;
  }
  .composition-bar {
    padding: 6px 5%;
  }
  .composition-bar button {
    min-height: 38px;
  }
  .composition-bar div {
    gap: 12px;
  }
  .page {
    padding: 0 5% 45px;
  }
  .page-intro {
    padding: 42px 0 22px;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 23px;
  }
  .lede {
    font-size: 14px;
    line-height: 1.7;
  }
  .studio-hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px 0 40px;
    gap: 34px;
    min-height: 0;
  }
  .studio-hero h1 {
    font-size: clamp(55px, 14vw, 78px);
  }
  .studio-hero .page-intro {
    padding: 0 0 5px;
  }
  .hero-index {
    margin-top: 30px;
    font-size: 9px;
    gap: 10px;
  }
  .featured-project {
    padding: 18px;
    transform: none;
  }
  .feature-label {
    margin-bottom: 18px;
  }
  .project-card h3 {
    font-size: 26px;
  }
  .studio-grid,
  .atlas-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .studio-grid {
    margin-bottom: 45px;
  }
  .section-title {
    flex-direction: column;
    align-items: start;
    gap: 12px;
    padding: 35px 0 26px;
  }
  .section-title p {
    margin: 0;
  }
  .directory > a {
    grid-template-columns: 23px 1fr 18px;
    gap: 12px;
    min-height: 95px;
  }
  .directory strong {
    font-size: 23px;
  }
  .directory > a > span:nth-of-type(2) {
    grid-column: 2;
    grid-row: 2;
    font-size: 12px;
  }
  .directory b {
    grid-column: 3;
    grid-row: 1/3;
  }
  .directory-number {
    grid-row: 1/3;
  }
  .filters {
    gap: 8px;
  }
  .filters button {
    padding: 10px 15px;
    gap: 18px;
    font-size: 11px;
  }
  .journal article {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 30px 0;
  }
  .journal-margin {
    flex-direction: row;
    justify-content: space-between;
  }
  .journal-image,
  .journal article:not(:has(.journal-image)) > div:nth-child(2) {
    grid-column: 1;
  }
  .journal article p {
    font-size: 14px;
  }
  .journal h2 {
    font-size: 36px;
  }
  .comparison {
    gap: 16px;
  }
  .comparison h2 {
    font-size: 25px;
    overflow-wrap: anywhere;
  }
  .comparison p {
    font-size: 12px;
    min-height: 0;
  }
  .comparison label {
    font-size: 9px;
  }
  .comparison select {
    font-size: 15px;
    padding: 9px 5px;
  }
  .comparison dl {
    grid-template-columns: 1fr;
    gap: 8px;
    font-size: 11px;
  }
  .comparison dd {
    margin-bottom: 10px;
  }
  .comparison .eyebrow {
    letter-spacing: 1px;
  }
  .comparison .text-link {
    font-size: 11px;
  }
  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }
  .gallery-grid .large {
    grid-column: 1;
    display: block;
  }
  .gallery-grid .large .card-meta {
    margin-top: 17px;
  }
  .gallery-grid .large h3 {
    font-size: 30px;
  }
  .gallery-grid .project-card:nth-child(3n) {
    padding-top: 0;
  }
  #portfolio-app[data-format="gallery"] .page-intro {
    display: block;
  }
  .detail-image {
    padding: 12px;
    margin: 30px auto;
  }
  .detail-bottom {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
    padding-bottom: 30px;
  }
  .detail-hero .page-intro {
    padding-top: 30px;
  }
  .about-copy {
    font-size: 18px;
  }
  .site-footer {
    align-items: start;
    flex-direction: column;
    gap: 12px;
    padding: 28px 5%;
  }
  .site-footer p {
    margin: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  .project-image img {
    transition: none;
  }
}
