@font-face {
  font-family: "MHL Serif";
  src: url("fonts/P052-Roman.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

html body {
  --surface: #211912;
  --surface-raised: #2a211a;
  --ink: #f4ede2;
  --muted: #d5c7b9;
  --bronze: #c3a689;
  --line: #58483b;
  --mhl-serif: "MHL Serif", Palatino, Georgia, serif;
  --mhl-sans: Jost, Arial, sans-serif;
  --mhl-text: 1rem;
  --mhl-label: .875rem;
  --mhl-caption: .8125rem;
  --mhl-page-title: clamp(1.875rem, 2.25vw + .75rem, 2.875rem);
  --mhl-section-title: clamp(1.5rem, 1.45vw + .9rem, 2.25rem);
  --mhl-subheading: clamp(1.1875rem, .75vw + .9rem, 1.5rem);
  font-family: var(--mhl-sans);
  font-size: var(--mhl-text);
}
body :is(h1, h2, h3) {
  font-family: var(--mhl-serif);
  font-weight: 400;
}
body .site-header {
  background: var(--surface);
  color: var(--ink);
}
body .site-header .main-nav {
  font: 400 .875rem/1.35 Jost, sans-serif;
  letter-spacing: .065em;
  text-transform: uppercase;
}
body .site-header .header-main {
  gap: clamp(16px, 2vw, 36px);
}
body .site-header .main-nav {
  gap: clamp(12px, 1.55vw, 28px);
}
body .button {
  border-radius: 999px;
  font-size: .875rem;
  letter-spacing: .08em;
}
body a:focus-visible, body button:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 4px;
}
body .site-footer :is(p, address, .footer-grid a) {
  font-size: .9375rem;
}

.mhl-opening {
  position: relative;
  overflow: clip;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: clamp(600px, 51vw, 940px);
  background: var(--surface);
  color: var(--ink);
}
.mhl-opening-photo, .mhl-opening::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.mhl-opening-photo {
  object-fit: cover;
  object-position: center 48%;
}
@media (prefers-reduced-motion: no-preference) {
  .mhl-opening-photo-enter {
    animation: mhl-opening-zoom-out 2.5s cubic-bezier(.22, .61, .36, 1);
  }

  @keyframes mhl-opening-zoom-out {
    from { transform: scale(1.03); }
    to { transform: scale(1); }
  }
}
.mhl-opening::before {
  content: "";
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #17110de0, #17110d80 38%, transparent 80%),
              linear-gradient(0deg, #211912 0%, #21191220 33%, transparent 53%);
}
.mhl-opening-copy, .mhl-opening-services {
  position: relative;
  z-index: 1;
}
.mhl-opening-copy {
  align-self: start;
  padding: clamp(80px, 10vw, 165px) 6% 58px;
}
.mhl-opening-copy h1 {
  line-height: 1.07;
  margin: 0 0 22px;
  letter-spacing: -.027em;
}
.mhl-opening-copy h1 span {
  display: block;
}
.mhl-opening-copy p {
  margin: 0 0 34px;
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: .025em;
}
.mhl-opening-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.mhl-opening-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.mhl-opening-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 6%;
  padding: 28px 0 36px;
}
.mhl-opening-services a {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 10px clamp(16px, 3.5vw, 64px);
  color: var(--ink);
}
.mhl-opening-services a + a {
  border-inline-start: 1px solid var(--line);
}
.mhl-opening-services strong {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.mhl-opening-services span {
  color: var(--muted);
}
.mhl-opening-services a:hover strong {
  text-decoration: underline;
  text-underline-offset: .32em;
}
body .home-collection-feature {
  width: 88%;
  max-width: none;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr);
  gap: clamp(28px, 5vw, 85px);
  border-top: 1px solid var(--line);
  padding-top: clamp(26px, 3vw, 50px);
  margin-block: clamp(40px, 5vw, 85px);
}
body .home-product-copy {
  padding-inline-start: 0;
}
body .home-product-copy h2 {
  margin: 0 0 21px;
}
body .home-product-copy p {
  max-width: 42ch;
  font-size: 1.0625rem;
}
@media (min-width: 781px) and (max-width: 1150px) {
  body .site-header .main-nav {
    font-size: .75rem;
    gap: 10px;
    letter-spacing: .025em;
  }
  body .site-header .brand {
    width: clamp(106px, 12vw, 138px);
  }
}
@media (max-width: 780px) {
  .mhl-opening { min-height: 0; }
  .mhl-opening-photo { object-position: 58% center; }
  .mhl-opening::before {
    background: linear-gradient(180deg, #17110da8, #17110d44 37%, #211912 78%);
  }
  .mhl-opening-copy {
    padding-block: 66px 195px;
  }
  .mhl-opening-copy p {
    font-size: 1rem;
  }
  .mhl-opening-services {
    grid-template-columns: 1fr;
    padding-block: 0 22px;
  }
  .mhl-opening-services a { padding: 13px 0; }
  .mhl-opening-services a + a {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }
  body .home-collection-feature { grid-template-columns: 1fr; }
}
@media (min-width: 781px) and (max-width: 1150px) {
  body .site-header .main-nav {
    flex-wrap: wrap;
    column-gap: 12px;
    row-gap: 4px;
  }
}

body .site-header .brand img,
body .site-footer .footer-logo {
  filter: brightness(0) saturate(100%) invert(93%) sepia(9%) saturate(323%) hue-rotate(340deg) brightness(104%) contrast(91%);
}

body .site-header #site-language {
  min-inline-size: 3.4rem;
  inline-size: auto;
  padding: .38rem .45rem;
  font-size: .875rem;
}

body.page-home .section.home-collection-feature {
  background: var(--surface);
  width: 88%;
  margin-block: clamp(20px, 3vw, 54px) clamp(45px, 6vw, 95px);
}
body.page-home .home-product-copy {
  padding: 0;
}
body.page-home .home-collection-image {
  width: 95%;
  justify-self: center;
  margin: 0;
}
@media (min-width: 781px) {
  .mhl-opening-copy {
    padding-block-start: clamp(76px, 9vw, 150px);
  }
  .mhl-opening-services {
    border-top: 1px solid var(--line);
  }
  .mhl-opening-services a:first-child {
    padding-inline-start: 0;
  }
  body.page-home .section.home-collection-feature {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr);
    gap: clamp(28px, 5vw, 85px);
  }
}
@media (max-width: 780px) {
}

@media (max-width: 780px) {
  .mhl-opening-copy {
    padding-block: 54px clamp(100px, 31vw, 195px);
  }
  .mhl-opening-copy h1 {
    max-width: 18ch;
    text-wrap: balance;
  }
  .mhl-opening-copy h1 span {
    display: inline;
  }
}

@media (max-width: 360px) {
  body .site-header .header-main {
    gap: 8px;
    padding-inline: 4%;
  }
  body .site-header .brand {
    width: 108px;
  }
}

.page-home .mhl-opening-copy h1 {
  font-size: var(--mhl-page-title);
  line-height: 1.12;
  letter-spacing: -.02em;
}
body.page-home main :is(h2, .craft-story .section-heading-row h2) {
  font-size: var(--mhl-section-title);
  line-height: 1.14;
  letter-spacing: -.018em;
}
body.page-home .home-product-copy h2 {
  max-width: none;
}


body.page-home main h3 {
  font-size: var(--mhl-subheading);
  line-height: 1.22;
}

@media (min-width: 781px) {
  html body { --mhl-text: 1.0625rem; }
}

body:not(.page-home) main :is(h1, .intro h1, .space-portfolio h1) {
  font: 400 var(--mhl-page-title)/1.12 var(--mhl-serif);
}
body:not(.page-home) main h2 {
  font: 400 var(--mhl-section-title)/1.14 var(--mhl-serif);
}
body:not(.page-home) main :is(h3, .space-card-label h2, .department-card h3, .subcategory-card h2) {
  font: 400 var(--mhl-subheading)/1.22 var(--mhl-serif);
  text-transform: none;
  letter-spacing: -.012em;
}
body main :is(p, .detail-body, .studio-space-copy p, .form-layout p) {
  font-size: var(--mhl-text);
  line-height: 1.6;
}
body main :is(.kicker, .small-title, .space-eyebrow, .text-link, .button, .filter,
  .subcategory-filter, .space-related a, .space-card-label span, .gallery-expand, label, summary) {
  font-size: var(--mhl-label);
}
body main :is(figcaption, small, .breadcrumb, .form-note, .price-note) {
  font-size: var(--mhl-caption);
  line-height: 1.5;
}
body main :is(input, textarea, select) {
  font-size: 1rem;
}
body .site-footer .footer-grid :is(a, p, address) {
  font-size: .9375rem;
  line-height: 1.55;
}
body .site-footer .footer-bottom :is(a, p),
body .site-footer .footer-bottom {
  font-size: .875rem;
}
body main .button { min-block-size: 44px; }

.page-home .home-featured-project .section-heading-row p {
  margin: .5rem 0 0;
  color: var(--muted);
}

@media (max-width: 780px) {
  body.page-home .section.home-collection-feature {
    gap: 1.125rem;
    margin-block: 2rem 2.75rem;
    padding-block-start: 1.5rem;
  }
  body.page-home .home-product-copy h2 { margin: 0 0 .5rem; }
  body.page-home .home-product-copy p { margin-block-end: 1rem; }
  body.page-home .section.home-featured-project {
    padding-block: 0;
    margin-block: 2.75rem;
  }
  body.page-home .home-featured-project .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: .875rem;
  }
}

.made-to-order-hallway figcaption {
  margin-top: .75rem;
  color: var(--muted);
}
body .workshop-photo img.stone-table-detail {
  object-position: center 86%;
  transform: scale(1.12);
  transform-origin: center 72%;
}

.page-kitchens .kitchen-opening > .kitchen-content,
.page-studio .studio-bedroom {
  width: min(88%, 1320px);
  margin-inline: auto;
}
.page-kitchens .kitchen-opening-grid {
  align-items: start;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 64px);
}
.page-kitchens .kitchen-opening-grid h1 {
  margin: 0;
  max-width: 13ch;
}
.page-kitchens .kitchen-intro p + p { margin-top: .85rem; }
.kitchen-portfolio { margin-top: clamp(28px, 5vw, 68px); }
.kitchen-portfolio-images,
.studio-bedroom-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.5vw, 36px);
}
.kitchen-portfolio-images img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 75%;
}
.kitchen-portfolio-link { display: inline-block; margin-top: 1rem; }
.page-studio .studio-bedroom {
  max-width: 1140px;
  padding-inline: 0;
  padding-block: 0 clamp(36px, 6vw, 80px);
  scroll-margin-top: 105px;
}
.studio-bedroom-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  column-gap: 2rem;
  row-gap: .5rem;
  margin-bottom: clamp(18px, 2.8vw, 34px);
  padding-top: clamp(18px, 2.4vw, 30px);
  border-top: 1px solid var(--line);
}
.studio-bedroom-intro h2,
.studio-bedroom-intro p { margin: 0; }
.studio-bedroom-intro p { color: var(--muted); }
.studio-bedroom-comparison figure {
  margin: 0;
  min-width: 0;
  border-bottom: 1px solid var(--line);
}
.studio-bedroom-comparison img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.studio-bedroom-comparison figcaption {
  padding-block: .75rem;
  color: var(--muted);
  font-size: var(--mhl-label);
  letter-spacing: .08em;
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .page-kitchens .kitchen-opening-grid,
  .kitchen-portfolio-images,
  .studio-bedroom-comparison { grid-template-columns: minmax(0, 1fr); }
  .studio-bedroom-comparison { row-gap: 1.6rem; }
}

@media (min-width: 781px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body main a.text-link:not(.button) {
    border-bottom-color: transparent;
    text-decoration: none;
    background-image: linear-gradient(var(--bronze), var(--bronze));
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 0 1px;
    transition: background-size .28s ease, color .25s ease, border-color .25s ease;
  }
  body main a.text-link:not(.button):is(:hover, :focus-visible) {
    border-bottom-color: transparent;
    text-decoration: none;
    background-size: 100% 1px;
  }
}

/* Round interactive controls while keeping longer text fields easy to read. */
body :is(button, select, input:not([type="checkbox"], [type="radio"], [type="range"], [type="hidden"], [type="color"])) {
  border-radius: 999px;
}
body input::file-selector-button { border-radius: 999px; }
body textarea {
  border-radius: 18px;
}

@media (min-width: 1601px) {
  .section:not(.narrow),
  .page-product .product-layout,
  .page-studio .space-grid {
    max-width: none;
  }

  .page-projects .project-portfolio {
    max-width: 87.5vw;
  }

  .page-home :is(.home-project-image, .home-featured-project .section-heading-row) {
    width: min(100%, 70vw);
  }

  .page-home .craft-story-grid .linked-photo {
    width: min(100%, 42.5vw);
  }
}
