/* Original MRHTML architecture template. Palette and rhythm begin here. */
:root {
  --bone: #f0eee7;
  --ink: #292823;
  --clay: #974c35;
  --muted: #646059;
  --line: #bcb6aa;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button {
  font: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
h1 em,
h2 em {
  font-weight: 400;
}
::selection {
  background: #d6b29e;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex='-1']:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 5px;
}
.wrap {
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4.5vw, 72px);
}
.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--ink);
  color: var(--bone);
  padding: 12px;
  z-index: 20;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.header {
  min-height: 110px;
  display: flex;
  align-items: center;
  gap: 55px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--serif);
  font-size: 36px;
  letter-spacing: -2px;
  text-decoration: none;
  display: flex;
  gap: 13px;
  align-items: center;
}
.brand-mark {
  display: block;
  width: 17px;
  height: 26px;
  border: 1px solid var(--clay);
  border-radius: 50% 50% 0 0;
}
.header-note {
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
.header nav {
  margin-left: auto;
  display: flex;
  gap: 38px;
  font-size: 13px;
}
.header nav a {
  padding-block: 12px;
  text-decoration: none;
}
.header nav a:hover {
  text-decoration: underline;
}
.hero {
  padding-top: 48px;
}
.hero-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding-bottom: 42px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 10px;
  font-weight: 600;
}
.hero h1 {
  font-size: clamp(64px, 7.9vw, 126px);
  margin-top: 25px;
  line-height: 0.96;
}
.hero h1 em {
  color: var(--clay);
}
.hero-aside {
  width: 240px;
  padding-bottom: 5px;
}
.hero-aside p {
  font-size: 14px;
}
.cross {
  display: block;
  font: 42px/1 var(--serif);
  margin-bottom: 18px;
  color: var(--clay);
}
.text-link {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  font-size: 12px;
  margin-top: 23px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 9px;
}
.text-link:hover {
  border-color: var(--clay);
}
.hero-photo img {
  width: 100%;
  height: clamp(350px, 41vw, 620px);
  object-fit: cover;
  object-position: center 54%;
}
.hero-photo figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: var(--ink);
  color: var(--bone);
  font-size: 10px;
  padding: 14px 20px;
}
.hero-foot {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  padding-block: 24px 70px;
}
.hero-foot > p {
  font-size: 11px;
  color: var(--muted);
  max-width: 340px;
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  align-items: end;
  gap: 35px;
  border-top: 1px solid var(--line);
  padding-top: 36px;
  margin-bottom: 44px;
}
.section-heading h2 {
  font-size: clamp(48px, 5vw, 72px);
}
.section-heading > p:last-child {
  font-size: 13px;
  color: var(--muted);
  max-width: 275px;
}
.project-index {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 8px;
  margin-bottom: 52px;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filters button {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  padding: 10px 15px;
  font-size: 12px;
  cursor: pointer;
}
.filters button[aria-pressed='true'] {
  background: var(--clay);
  color: #fff;
}
.filters button:hover {
  outline: 1px solid var(--clay);
  outline-offset: -1px;
}
.filter-status {
  font-size: 11px;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.project {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: clamp(36px, 7vw, 112px);
  align-items: center;
  margin-bottom: 100px;
}
.project figure img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.project figcaption {
  font-size: 10px;
  color: var(--muted);
  padding-top: 10px;
}
.project-copy .eyebrow {
  color: var(--clay);
  margin-bottom: 20px;
}
.project-copy h3 {
  font-size: clamp(40px, 4.2vw, 62px);
  margin-bottom: 24px;
}
.project-copy > p:not(.eyebrow):not(.margin-note) {
  font-size: 14px;
  color: var(--muted);
  max-width: 370px;
}
.project-copy dl {
  margin: 28px 0 20px;
  font-size: 11px;
}
.project-copy dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-block: 10px;
}
.project-copy dt {
  color: var(--muted);
}
.project-copy dd {
  margin: 0;
  text-align: right;
}
details {
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
summary::-webkit-details-marker {
  display: none;
}
summary span {
  font-size: 20px;
  line-height: 1;
}
details[open] summary span {
  transform: rotate(45deg);
}
details p {
  padding: 4px 0 20px;
  color: var(--muted);
}
.project-portrait {
  grid-template-columns: 1fr 1fr;
  padding-left: 15%;
  gap: clamp(40px, 8vw, 128px);
}
.project-portrait figure img {
  height: 680px;
  object-position: center 70%;
}
.margin-note {
  font: italic clamp(25px, 2.7vw, 42px)/1.18 var(--serif);
  color: var(--clay);
  margin-top: 60px;
}
.project-reverse {
  grid-template-columns: 1fr 1.65fr;
}
.project-reverse figure {
  order: 2;
}
.project-reverse figure img {
  height: 550px;
  object-position: center 58%;
}
.practice {
  background: var(--ink);
  color: var(--bone);
  padding-block: 85px;
}
.practice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.practice h2 {
  font-size: clamp(55px, 6vw, 88px);
  margin-top: 30px;
}
.practice h2 em {
  color: #ddb39c;
}
.practice-copy .lead {
  font: 30px/1.3 var(--serif);
  max-width: 520px;
  margin-bottom: 25px;
}
.practice-copy > p:not(.lead) {
  font-size: 14px;
  color: #c6c2b8;
}
.practice-copy ol {
  list-style: none;
  counter-reset: steps;
  padding: 0;
  margin: 40px 0 0;
}
.practice-copy li {
  counter-increment: steps;
  border-top: 1px solid #6f6a60;
  padding: 23px 0 23px 42px;
  position: relative;
}
.practice-copy li::before {
  content: '0' counter(steps);
  position: absolute;
  left: 0;
  font-size: 10px;
  color: #ddb39c;
}
.practice-copy h3 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.practice-copy li p {
  font-size: 13px;
  color: #c6c2b8;
}
.practice-symbol {
  display: flex;
  gap: 10px;
  margin-top: 70px;
  height: 110px;
}
.practice-symbol span {
  width: 65px;
  border: 1px solid #a4917c;
  border-radius: 60px 60px 0 0;
}
.practice-symbol span:nth-child(2) {
  transform: translateY(20px);
}
.practice-symbol span:nth-child(3) {
  transform: translateY(40px);
}
.inquiry {
  padding-block: 90px;
}
.inquiry-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 70px;
  margin-top: 30px;
  align-items: center;
}
.inquiry h2 {
  font-size: clamp(52px, 6.7vw, 100px);
}
.inquiry-grid > div > p:first-child {
  max-width: 350px;
  font-size: 15px;
}
.inquiry-link {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--serif);
  font-size: 31px;
  border-bottom: 1px solid var(--clay);
  padding-block: 20px 13px;
  text-decoration: none;
  margin-bottom: 18px;
}
.inquiry-link span {
  color: var(--clay);
}
.setup-note {
  font-size: 11px;
  color: var(--muted);
  max-width: 420px;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding-block: 34px;
  border-top: 1px solid var(--line);
}
.footer p,
.footer > a:last-child {
  font-size: 10px;
  color: var(--muted);
}
.footer .brand {
  font-size: 28px;
}
@media (min-width: 1600px) {
  .header,
  .footer {
    border-inline: 1px solid var(--line);
  }
}
@media (max-width: 900px) {
  .header {
    gap: 30px;
  }
  .header nav {
    gap: 24px;
  }
  .hero h1 {
    font-size: clamp(62px, 8.8vw, 85px);
  }
  .hero-aside {
    width: 190px;
  }
  .section-heading {
    grid-template-columns: 1fr 1.8fr;
  }
  .section-heading > p:last-child {
    grid-column: 2;
  }
  .project {
    gap: 35px;
  }
  .project figure img {
    height: 440px;
  }
  .project-portrait {
    padding-left: 0;
  }
  .project-portrait figure img {
    height: 590px;
  }
  .project-reverse figure img {
    height: 500px;
  }
  .practice-grid {
    gap: 45px;
  }
  .practice-copy .lead {
    font-size: 25px;
  }
  .inquiry-grid {
    gap: 35px;
  }
  .inquiry-link {
    font-size: 25px;
  }
}
@media (max-width: 600px) {
  .header {
    min-height: 110px;
    flex-wrap: wrap;
    gap: 5px 22px;
    padding-block: 18px;
  }
  .brand {
    font-size: 29px;
  }
  .header-note {
    margin-left: auto;
    font-size: 9px;
  }
  .header nav {
    margin-left: 0;
    justify-content: space-between;
    gap: 28px;
    flex-basis: 100%;
    font-size: 12px;
  }
  .header nav a {
    padding-block: 8px;
  }
  .hero {
    padding-top: 35px;
  }
  .hero-heading {
    display: block;
    padding-bottom: 30px;
  }
  .hero h1 {
    font-size: clamp(48px, 12.2vw, 74px);
    margin-top: 23px;
  }
  .hero-aside {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: auto;
    gap: 18px;
    margin-top: 29px;
  }
  .hero-aside p {
    font-size: 11px;
  }
  .hero-aside .cross {
    display: none;
  }
  .text-link {
    font-size: 10px;
    gap: 10px;
    white-space: nowrap;
    margin-top: 0;
  }
  .hero-photo img {
    height: 340px;
  }
  .hero-photo figcaption {
    flex-direction: column;
    font-size: 9px;
    padding: 12px;
    gap: 3px;
  }
  .hero-foot {
    display: block;
    padding-block: 20px 48px;
  }
  .hero-foot > p {
    margin-top: 10px;
    font-size: 10px;
  }
  .section-heading {
    display: block;
    padding-top: 26px;
    margin-bottom: 26px;
  }
  .section-heading h2 {
    font-size: 52px;
    margin-top: 20px;
  }
  .section-heading > p:last-child {
    margin-top: 18px;
    max-width: 330px;
  }
  .project-index {
    display: block;
    margin-bottom: 30px;
  }
  .filters {
    gap: 1px;
  }
  .filters button {
    font-size: 10px;
    padding: 11px 9px;
  }
  .filter-status {
    font-size: 10px;
    padding-top: 7px;
  }
  .project,
  .project-portrait,
  .project-reverse {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 55px;
    padding-left: 0;
  }
  .project figure img {
    height: 300px;
  }
  .project-portrait figure img {
    height: 430px;
  }
  .project-reverse figure {
    order: 0;
  }
  .project-reverse figure img {
    height: 380px;
  }
  .project-copy h3 {
    font-size: 43px;
  }
  .project-copy > p:not(.eyebrow):not(.margin-note) {
    max-width: none;
  }
  .project-copy dl {
    margin-top: 22px;
  }
  .margin-note {
    margin-top: 27px;
  }
  .practice {
    padding-block: 55px;
  }
  .practice-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .practice h2 {
    font-size: 59px;
  }
  .practice-symbol {
    display: none;
  }
  .practice-copy .lead {
    font-size: 27px;
  }
  .inquiry {
    padding-block: 55px;
  }
  .inquiry-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .inquiry h2 {
    font-size: 57px;
  }
  .inquiry-link {
    font-size: 28px;
  }
  .footer {
    flex-wrap: wrap;
    gap: 23px;
  }
  .footer p {
    margin-left: auto;
    font-size: 9px;
  }
  .footer > a:last-child {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
