:root {
  --bg: #f7f6f2;
  --paper: #ffffff;
  --ink: #171717;
  --muted: #6f6b63;
  --line: #d8d4ca;
  --accent: #7f907a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 300px 1fr 500px;
  align-items: center;
  min-height: 73px;
  padding: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 246, 242, .9);
  backdrop-filter: blur(14px);
}

.brand {
  display: grid;
  place-items: center start;
  align-self: stretch;
  border-right: 1px solid var(--line);
  padding: 0 22px;
  font-family: "Times New Roman", Times, Georgia, serif;
  letter-spacing: .04em;
}

.brand strong {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.brand span {
  display: block;
  margin-top: 9px;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 11px;
  letter-spacing: 2.55em;
  white-space: nowrap;
  color: #686868;
}

.ha-mark {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 92px;
  height: 100%;
}

.ha-mark img {
  width: 54px;
  height: auto;
}

.nav-area {
  display: grid;
  grid-template-columns: 1fr 48px;
  align-self: stretch;
  align-items: stretch;
}

.nav-slider {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  align-self: stretch;
  font-size: 12px;
  text-transform: none;
}

.nav-slider a,
.lang {
  color: var(--muted);
}

.nav-slider a {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 78px;
  padding: 0 12px;
  border-right: 0;
  transition: color .28s ease;
}

.nav-slider a:first-of-type {
  border-left: 0;
}

.nav-cursor {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 0;
  height: 7px;
  border: 0;
  background: var(--ink);
  opacity: 0;
  transition: transform .38s cubic-bezier(.2, .8, .2, 1), width .38s cubic-bezier(.2, .8, .2, 1), opacity .2s ease;
}

.nav-slider a.active,
.nav-slider a:hover,
.lang:hover {
  color: var(--ink);
}

.lang {
  display: grid;
  place-items: center;
  align-self: stretch;
  border-left: 1px solid var(--line);
  justify-self: end;
  width: 100%;
  font-size: 12px;
  color: #8d8d8d;
}

.hero {
  position: relative;
  min-height: calc(100vh - 58px);
  display: grid;
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .42s ease, transform 5.2s ease;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .46), rgba(0, 0, 0, .02) 55%);
}

.hero div {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 44px 28px 54px;
  color: white;
}

.hero.is-switching img {
  opacity: .12;
  transform: scale(1.015);
}

.hero-project-link {
  position: absolute;
  right: 28px;
  bottom: 26px;
  z-index: 2;
  min-width: 180px;
  border: 1px solid rgba(255, 255, 255, .7);
  padding: 12px 18px;
  color: white;
  font-size: 12px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero p,
.page-title p,
.project-card p,
.detail-copy p:first-child {
  margin: 0 0 12px;
  color: inherit;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

h1 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(36px, 6vw, 78px);
  font-weight: 400;
  line-height: 1.04;
}

.intro {
  max-width: 980px;
  padding: 80px 28px;
}

.intro p {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, serif;
  font-size: 30px;
  line-height: 1.35;
}

.project-grid,
.project-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.project-strip {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.project-strip .project-card {
  flex: 0 0 min(34vw, 460px);
  scroll-snap-align: start;
}

.project-strip.all .project-card {
  flex-basis: calc((100vw - 2px) / 3);
}

.project-grid.all {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  min-width: 0;
  background: var(--bg);
  transition: opacity .7s ease, transform .7s ease;
}

.project-card a {
  position: relative;
  display: block;
}

.project-media {
  position: relative;
  overflow: hidden;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(.92);
  transition: transform .7s ease, filter .7s ease;
}

.project-card:hover img {
  transform: scale(1.025);
  filter: saturate(1);
}

.project-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 28px;
  background: rgba(218, 218, 216, .92);
  color: var(--ink);
  text-align: center;
  opacity: 0;
  transform: scale(.985);
  transition: opacity .32s ease, transform .32s ease;
  pointer-events: none;
}

.project-card:hover .project-overlay,
.project-card:focus-within .project-overlay {
  opacity: 1;
  transform: scale(1);
}

.project-overlay p,
.project-overlay span {
  margin: 0;
  color: #333;
  font-size: 18px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.project-overlay h3 {
  margin: 0;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 38px;
  font-weight: 300;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.project-meta {
  min-height: 104px;
  padding: 18px;
}

.project-meta h2,
.list-row h2,
.people h2 {
  margin: 0 0 8px;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
}

.project-meta p,
.list-row p,
.people p,
.split-page p,
.contact-page p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.page-title,
.pdf-title {
  position: relative;
  padding: 84px 28px 46px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-title::before,
.pdf-title::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 54px;
  height: 1px;
  background: var(--line);
}

.page-title::after,
.pdf-title::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(33.333% - .5px), var(--line) calc(33.333% - .5px), var(--line) calc(33.333% + .5px), transparent calc(33.333% + .5px)),
    linear-gradient(90deg, transparent calc(66.666% - .5px), var(--line) calc(66.666% - .5px), var(--line) calc(66.666% + .5px), transparent calc(66.666% + .5px));
}

.pdf-title {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 0 28px;
  border-top: 1px solid var(--line);
}

.pdf-title h1 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: .04em;
}

.project-detail {
  display: grid;
  grid-template-columns: minmax(280px, 34vw) 1fr;
  min-height: calc(100vh - 58px);
}

.detail-copy {
  position: sticky;
  top: 58px;
  align-self: start;
  padding: 42px 28px;
}

.detail-copy dl {
  display: grid;
  gap: 12px;
  margin: 32px 0;
}

.detail-copy div {
  display: grid;
  grid-template-columns: 80px 1fr;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

dt {
  color: var(--muted);
  font-size: 12px;
}

dd {
  margin: 0;
}

.project-carousel {
  position: relative;
  min-width: 0;
  border-left: 1px solid var(--line);
  background: #eee9df;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  height: calc(100vh - 54px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: start;
  display: grid;
  place-items: center;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--paper);
}

.carousel-button {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 72px;
  min-width: 0;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid rgba(23, 23, 23, .35);
  background: rgba(247, 246, 242, .66);
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}

.carousel-button.prev {
  left: 18px;
}

.carousel-button.next {
  right: 18px;
}

.carousel-progress {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 22px;
  height: 1px;
  background: rgba(23, 23, 23, .25);
}

.carousel-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left;
  transform: scaleX(.1);
  background: var(--ink);
  transition: transform .35s ease;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.split-page,
.contact-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  padding: 70px 28px;
  border-bottom: 1px solid var(--line);
}

.about-title {
  min-height: 148px;
}

.about-pdf {
  display: grid;
  grid-template-columns: 34vw 1fr;
  min-height: calc(100vh - 222px);
  border-bottom: 1px solid var(--line);
}

.about-image {
  min-height: 720px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy {
  display: grid;
  align-content: end;
  padding: 0 5vw 42px 10vw;
}

.about-copy > p {
  max-width: 880px;
  margin: 0 0 110px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.58;
  color: #262626;
}

.about-bottom {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 64px;
  align-items: end;
  border-bottom: 1px solid #8b8b8b;
  padding-bottom: 32px;
}

.about-bottom h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: .08em;
}

.about-bottom p {
  margin: 0;
  color: #777;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.55;
}

.press-note {
  display: grid;
  gap: 46px;
}

.press-note > p {
  font-size: 12px;
  color: #aaa;
}

.about-socials {
  display: flex;
  justify-content: flex-end;
  gap: 32px;
  color: var(--ink);
  font-size: 12px;
}

.pdf-contact-form {
  border-bottom: 1px solid var(--line);
}

.pdf-contact-form form {
  display: grid;
}

.pdf-contact-form label {
  display: grid;
  grid-template-columns: minmax(240px, 38vw) 1fr;
  align-items: center;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
}

.pdf-contact-form label span {
  justify-self: end;
  padding-right: 56px;
  font-family: Georgia, serif;
  font-size: 22px;
}

.pdf-contact-form input,
.pdf-contact-form textarea {
  width: min(760px, 84%);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, .08);
}

.pdf-contact-form textarea {
  min-height: 124px;
}

.pdf-contact-form button {
  justify-self: center;
  margin: 92px 0 96px;
  min-width: 128px;
  font-family: Georgia, serif;
  font-size: 24px;
  font-style: italic;
}

.split-page > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.split-page > div,
.contact-page > div {
  align-self: center;
  max-width: 560px;
}

.split-page h1,
.contact-page h1 {
  margin-bottom: 28px;
}

.people,
.list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.people {
  grid-template-columns: repeat(3, 1fr);
}

.people article,
.list-row {
  background: var(--bg);
  padding: 28px;
}

.people img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 18px;
}

.list-row {
  display: grid;
  grid-template-columns: 120px 1fr 2fr 90px;
  gap: 24px;
  align-items: start;
}

.list-row span,
.list-row a {
  color: var(--muted);
  font-size: 12px;
}

.contact-form {
  display: grid;
  gap: 10px;
}

input,
textarea,
button {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  padding: 12px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

button {
  width: auto;
  justify-self: start;
  min-width: 120px;
  background: var(--ink);
  color: white;
  cursor: pointer;
}

.map,
.map-placeholder {
  min-height: 430px;
  margin: 0 4.8vw;
  border: 0;
  background: #111;
  color: white;
  display: grid;
  place-items: center;
}

.map-placeholder span {
  justify-self: end;
  align-self: end;
  padding: 18px;
  color: rgba(255, 255, 255, .72);
}

.contact-invite {
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: 88px 24px 180px;
  text-align: center;
}

.contact-invite p {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, serif;
  font-size: 22px;
  line-height: 1.7;
}

.contact-invite h2 {
  margin: 40px 0 0;
  font-family: Georgia, serif;
  font-size: 48px;
  font-weight: 400;
  letter-spacing: .06em;
}

.contact-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 70px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-size: 28px;
}

.map iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

.socials {
  display: flex;
  gap: 18px;
  margin-top: 24px;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 22px 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: auto;
    padding: 12px 16px 0;
  }

  .brand,
  .ha-mark,
  .lang {
    border: 0;
    place-items: start;
  }

  .brand strong {
    font-size: 20px;
  }

  .brand span {
    font-size: 10px;
    letter-spacing: 1.45em;
  }

  .ha-mark {
    justify-self: end;
    width: 56px;
  }

  .ha-mark img {
    width: 44px;
  }

  .nav-area {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    width: 100%;
  }

  .nav-slider {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    gap: 0;
    overflow-x: auto;
    min-height: 44px;
    border-top: 1px solid var(--line);
  }

  .nav-slider a {
    min-width: auto;
    border: 0;
    padding: 0 13px;
    white-space: nowrap;
  }

  .nav-cursor {
    top: auto;
    height: 5px;
  }

  .project-grid,
  .project-grid.all,
  .people,
  .split-page,
  .contact-page,
  .about-pdf,
  .about-bottom,
  .project-detail,
  .site-footer,
  .list-row {
    grid-template-columns: 1fr;
  }

  .about-title {
    min-height: 118px;
  }

  .about-pdf {
    min-height: 0;
  }

  .about-image {
    min-height: 0;
  }

  .about-image img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .about-copy {
    padding: 34px 18px 28px;
  }

  .about-copy > p {
    margin-bottom: 46px;
    font-size: 16px;
    line-height: 1.68;
  }

  .about-bottom {
    gap: 28px;
    padding-bottom: 24px;
  }

  .about-socials {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .project-strip .project-card {
    flex-basis: 82vw;
  }

  .project-overlay {
    top: auto;
    min-height: 128px;
    background: rgba(238, 237, 232, .96);
    opacity: 1;
    transform: none;
  }

  .project-overlay p,
  .project-overlay span {
    font-size: 12px;
  }

  .project-overlay h3 {
    font-size: 22px;
    letter-spacing: .08em;
  }

  .project-card img {
    aspect-ratio: 4 / 5.4;
  }

  .pdf-contact-form label {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px;
  }

  .pdf-contact-form label span {
    justify-self: start;
    padding-right: 0;
    font-size: 18px;
  }

  .pdf-contact-form input,
  .pdf-contact-form textarea {
    width: 100%;
  }

  .contact-invite {
    padding-bottom: 90px;
  }

  .contact-invite h2 {
    font-size: 34px;
  }

  .hero {
    min-height: 72vh;
  }

  .hero-project-link {
    left: 18px;
    right: auto;
    bottom: 18px;
  }

  .intro {
    padding: 52px 18px;
  }

  .intro p {
    font-size: 24px;
  }

  .page-title,
  .detail-copy,
  .split-page,
  .contact-page {
    padding-left: 18px;
    padding-right: 18px;
  }

  .detail-copy {
    position: static;
  }

  .carousel-track {
    height: 68vh;
  }
}
