:root {
  --editorial-paper: #f5f0e8;
  --editorial-ink: #27211c;
  --editorial-white: #fffaf3;
  --editorial-sand: #f1d8be;
  --editorial-accent: #e74a50;
  --editorial-title: clamp(2.7rem, 6.3vw, 7.3rem);
}
main :is(.detail-opening, .company-opening, .legal-cover, .intro-copy, .opening-copy, .hero-copy) h1 {
  font-family: DM, sans-serif;
  font-weight: 450;
  letter-spacing: -.065em;
  line-height: .99;
  color: var(--editorial-white);
}
main :is(.detail-opening, .company-opening, .legal-cover, .intro-copy) h1 {
  font-size: var(--editorial-title);
  margin: .22em 0;
}
main :is(.detail-opening, .company-opening, .legal-cover) h1 em { display: block; }
main :is(.detail-opening, .company-opening, .legal-cover, .intro-copy, .opening-copy) h1 em,
main .hero-copy h1 strong { font-weight: 220; font-style: italic; color: var(--editorial-sand); }
main :is(.detail-opening, .company-opening, .company-public, .company-site, .intro-copy, .opening-copy) .label,
main .hero-copy .eyebrow {
  display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem;
  font: 650 .76rem/1.35 DM, sans-serif; text-transform: uppercase; letter-spacing: .1em;
}
main :is(.detail-opening, .company-opening, .company-public, .company-site, .intro-copy, .opening-copy) .label::before,
main .hero-copy .eyebrow::before {
  content: ""; flex: none; width: 2.5rem; height: 3px; background: var(--editorial-accent);
}
.detail-opening::before {
  background: linear-gradient(90deg, #1a1511ed, #1a1511b8 41%, transparent 85%), linear-gradient(#1a15118c, transparent 27%);
}
.detail-opening h1 + p, .legal-cover > p { max-width: 55ch; font-size: clamp(1.02rem,1.3vw,1.22rem); line-height: 1.65; }
.legal-page .legal-cover { flex-direction: column; justify-content: flex-end; align-items: flex-start; }
.detail-body, .legal-layout, .quote-page main { background-color: var(--editorial-paper); color: var(--editorial-ink); }
.detail-body h2, .legal-text h2, .form-group h2 {
  line-height: 1.06; letter-spacing: -.045em; font-weight: 480;
}
.detail-body h2 { border-top: 1px solid #cbbeb0; padding-top: .55em; }
@media (max-width: 750px), (pointer: coarse) and (hover: none) and (max-height: 540px) and (max-width: 1024px) {
  :root { --editorial-title: clamp(2.55rem, 10.5vw, 4.65rem); }
  .detail-opening::before { background: linear-gradient(#191410bb, transparent 30%, #19141099 49%, #191410f2 92%); }
  main .hero-copy .eyebrow { flex-wrap: wrap; column-gap: .45rem; }
}

/* Photographic service introductions share the hierarchy of the home panels. */
main :is(h2.section-title, .detail-opening h1) {
  font-size: clamp(2.6rem, 7.3vw, 8.5rem);
  font-weight: 450;
  letter-spacing: -.065em;
  line-height: .96;
  margin: .28em 0;
}
main h2.section-title em {
  display: block;
  font-weight: 220;
  color: var(--section-title-accent, var(--editorial-sand));
}
main :is(.company-public h2, .detail-opening h1) + p {
  max-width: 40ch;
  font-size: clamp(1.05rem, 1.45vw, 1.4rem);
  line-height: 1.45;
}
.company-scene.company-public { grid-template-columns: minmax(0, 60rem); }
.company-public .company-links { margin-top: 1.6rem; }
@media (max-width: 750px) {
  main :is(h2.section-title, .detail-opening h1) {
    font-size: clamp(2.5rem, 10.5vw, 4.65rem);
    overflow-wrap: normal;
    hyphens: none;
  }
}
main h2.section-title { max-width: 100%; hyphens: none; overflow-wrap: normal; }
:is(.company-site, .process, .method-study) { --section-title-accent: #982729; }@media (min-width: 751px) {
  .lsf-scroll main .split h2.section-title {
    font-size: clamp(2.6rem, 5.6vw, 7rem);
    padding-inline-end: .06em;
  }
}

.house-gallery {
  min-height: 100svh;
  padding: calc(var(--header-size) + 2rem) var(--header-gutter) clamp(2.5rem,5vw,5rem);
  background: #211d19;
  color: #fffaf3;
}
.house-gallery #gallery-title { margin: 0 0 clamp(1.5rem,3vw,3rem); }
.house-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(4px,.5vw,9px); }
.house-tile {
  position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1;
  background: #38312a; margin: 0;
}
.house-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.house-tile figcaption {
  position: absolute; inset: auto 0 0; padding: 2.5rem clamp(.8rem,1.3vw,1.4rem) 1rem;
  color: #fffaf3; background: linear-gradient(transparent, rgb(20 16 13 / 86%));
  font-size: clamp(.92rem,1.3vw,1.35rem); line-height: 1.2; font-weight: 550;
}
@media (max-width: 850px) {
  .house-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .house-gallery { padding-inline: var(--mobile-inset,1rem); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .house-tile img { transition: transform .75s cubic-bezier(.2,.65,.25,1); }
  .house-tile:hover img { transform: scale(1.045); }
}

.kitchen-gallery #gallery-title { margin-bottom: .15em; }
.kitchen-credit { margin: 0 0 2rem; color: var(--editorial-sand); }
.kitchen-gallery .house-tile { aspect-ratio: auto; background: transparent; }
.kitchen-photo { aspect-ratio: 1; overflow: hidden; }
.kitchen-gallery figcaption { position: static; padding: .8rem 0 1.4rem; background: none; }
.kitchen-gallery figcaption small { display: block; margin-bottom: .35rem; font-size: .73rem; letter-spacing: .08em; color: var(--editorial-sand); }

/* Keep both parts of the company heading on their own line. */
.company-opening.company-scene { grid-template-columns: minmax(0, 1fr); }
.home-scroll .company-intro h2 { font-size: clamp(2rem, 4.65vw, 8rem); max-width: none; }
@media (max-width: 750px) {
  .home-scroll .company-intro h2, main .company-opening h1 {
    font-size: clamp(1.7rem, 8.45vw, 3.75rem);
  }
}
