/* Homepage composition. Featured projects keep their existing presentation. */
.replica-body.home {
  --home-gutter: var(--mobile-gutter, clamp(1.25rem, 4vw, 4rem));
  --home-section-space: clamp(3.5rem, 6vw, 6rem);
  --home-column-space: clamp(2rem, 5vw, 5rem);
  --featured-title-offset: 200px;
  --featured-title-edge: calc(10px + var(--featured-title-offset));
  --home-width: min(76rem, calc(100% - var(--featured-title-edge) - var(--home-gutter)));
}

.replica-body.home .content_inner .elementor > :is(
  .elementor-element-d878c43, .elementor-element-69ba8e0, .elementor-element-67fa90d,
  .elementor-element-9d4def6, .elementor-element-3a48a5e
) {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding-block: var(--home-section-space) !important;
  padding-inline: 0 !important;
}

.replica-body.home .content_inner .elementor > .elementor-element-d878c43 {
  padding-block: clamp(3rem, 5vw, 5rem) !important;
  background: #f7f5ef;
}

.replica-body.home .elementor > :is(
  .elementor-element-d878c43, .elementor-element-69ba8e0, .elementor-element-67fa90d,
  .elementor-element-9d4def6, .elementor-element-3a48a5e
) > .elementor-container,
.replica-body.home .seo-inner {
  width: var(--home-width);
  max-width: none;
  margin-inline: var(--featured-title-edge) auto;
}

.replica-body.home .elementor-element-b0af19d .elementor-element-157f9f4 > .elementor-widget-container {
  margin-inline-start: var(--featured-title-offset);
}

.replica-body.home :is(
  .elementor-element-5978c1c, .elementor-element-6893745, .elementor-element-0b387ee,
  .elementor-element-a1b88a9, .elementor-element-4bd4d3c, .elementor-element-6ef9e35,
  .elementor-element-3fde101
) > .elementor-widget-wrap {
  padding: 0 !important;
  margin-inline: 0 !important;
  min-width: 0;
}

.replica-body.home :is(.elementor-element-69ba8e0, .elementor-element-3a48a5e) > .elementor-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: var(--home-column-space);
}

.replica-body.home :is(.elementor-element-69ba8e0, .elementor-element-3a48a5e) > .elementor-container > .elementor-column {
  width: 100%;
  min-width: 0;
}

.replica-body.home :is(.elementor-element-6893745, .elementor-element-6ef9e35) > .elementor-widget-wrap {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 1.25rem;
}

.replica-body.home :is(.elementor-element-6893745, .elementor-element-6ef9e35) > .elementor-widget-wrap > .elementor-widget {
  width: 100%;
  margin: 0;
}

.replica-body.home .elementor-element-6ef9e35 .elementor-widget-spacer {
  display: none;
}

.replica-body.home :is(
  .elementor-element-9333c79, .elementor-element-e6efbd8, .elementor-element-f1f0c3d,
  .elementor-element-d5b2c02, .elementor-element-7c0b739, .elementor-element-5f45dad,
  .elementor-element-e458b44, .elementor-element-cd0b8a0, .elementor-element-13d7614,
  .elementor-element-44877ad
) > .elementor-widget-container {
  margin: 0;
  padding: 0;
  text-align: start;
}

.replica-body.home :is(
  .elementor-element-9333c79, .elementor-element-e6efbd8, .elementor-element-d5b2c02,
  .elementor-element-7c0b739, .elementor-element-5f45dad, .elementor-element-e458b44,
  .elementor-element-cd0b8a0, .elementor-element-13d7614
) :is(h2,h3,h4,p) {
  margin-inline: 0;
  padding-inline: 0;
  text-align: start;
}

.replica-body.home .elementor-element-9333c79 p {
  max-width: 50rem;
  text-wrap: pretty;
}

.replica-body.home :is(.elementor-element-7c0b739, .elementor-element-5f45dad) p {
  max-width: 72ch;
}

.replica-body.home :is(.elementor-element-f1f0c3d .qbutton, .elementor-element-44877ad .elementor-button) {
  margin-inline: 0;
}

.replica-body.home .elementor-element-f1f0c3d .qbutton {
  padding-inline-start: 0 !important;
}

.replica-body.home .elementor-element-44877ad .elementor-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

.replica-body.home :is(.elementor-element-d6c2c47, .elementor-element-92519bc) > .e-con-inner {
  width: 100%;
  max-width: none;
  padding: 0;
}

.replica-body.home .elementor-element-d6c2c47 { padding: 0; }
.replica-body.home .elementor-element-d6c2c47 figcaption {
  font: 400 1rem/1.5 var(--brand-body);
  text-align: start;
  padding-top: 10px;
}

.replica-body.home .elementor-element-92519bc {
  width: 100%;
  padding: 0 !important;
}

.replica-body.home .seo-section {
  padding-inline: 0;
}

/* One scale for headings and readable body copy throughout the content. */
.replica-body.home :is(.elementor-element-69ba8e0, .elementor-element-67fa90d, .elementor-element-3a48a5e, .seo-section) h2 {
  font-family: var(--brand-heading) !important;
  font-size: clamp(2rem, 3.3vw, 3rem) !important;
  line-height: 1.15 !important;
  margin: 0;
  max-width: 22ch;
  text-wrap: balance;
}

.replica-body.home :is(.elementor-element-9333c79, .elementor-element-7c0b739, .elementor-element-13d7614, .seo-inner) :is(p, h3) {
  font: 400 var(--body-copy-size)/1.75 var(--brand-body) !important;
  letter-spacing: 0 !important;
  max-width: 65ch;
  text-wrap: pretty;
}

/* Let the opening photograph and heading share the page's left edge. */
.replica-body.home .original-hero {
  height: min(850px, 85svh);
  min-height: 520px;
}

.replica-body.home .original-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--brand-overlay), transparent 75%);
  pointer-events: none;
}

.replica-body.home .original-hero .original-welcome {
  left: var(--featured-title-edge);
  top: auto;
  bottom: 110px;
  width: calc(100% - var(--featured-title-edge) - var(--home-gutter));
  max-width: 700px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: clamp(2.75rem, 4.5vw, 4.5rem) !important;
  text-wrap: balance;
}

.replica-body.home .hero-controls {
  z-index: 3;
  left: var(--featured-title-edge);
  right: auto;
  bottom: 32px;
  transform: none;
  gap: 4px;
  background: transparent;
}

.replica-body.home .hero-controls [data-slide] {
  width: 44px;
  height: 44px;
  margin: 0;
  background: radial-gradient(circle, white 3px, transparent 4px);
}

.replica-body.home .hero-controls [data-slide]::before { display: none; }
.replica-body.home .hero-controls [data-slide][aria-pressed=true]::after {
  inset: 50% auto auto 50%;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
}

.replica-body.home .hero-controls .hero-pause {
  width: 44px;
  height: 44px;
}

/* Product sections use the same text-and-photography proportions. */
.replica-body.home :is(.elementor-element-69ba8e0, .elementor-element-67fa90d) {
  background: #f7f5ef;
}

.replica-body.home .elementor-element-67fa90d > .elementor-container {
  border-top: 1px solid var(--brand-line);
  padding-top: var(--home-section-space);
}

.replica-body.home .content_inner .elementor > .elementor-element-67fa90d {
  padding-top: 0 !important;
}

.replica-body.home .elementor-element-a1b88a9 > .elementor-widget-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto 1fr;
  column-gap: var(--home-column-space);
  row-gap: 24px;
}

.replica-body.home .elementor-element-d5b2c02 { grid-column: 1; grid-row: 1; }
.replica-body.home .elementor-element-7c0b739 { grid-column: 1; grid-row: 2; }
.replica-body.home .elementor-element-92519bc { grid-column: 2; grid-row: 1 / 3; }

.replica-body.home :is(.elementor-element-d6c2c47, .elementor-element-92519bc) > .e-con-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.replica-body.home :is(.elementor-element-d6c2c47, .elementor-element-92519bc, .elementor-element-a89dcb1) :is(.elementor-widget, .elementor-widget-container) {
  margin: 0;
  padding: 0;
  min-width: 0;
}

.replica-body.home :is(.elementor-element-d6c2c47, .elementor-element-92519bc) img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.replica-body.home .elementor-element-d6c2c47 > .e-con-inner {
  grid-template-columns: minmax(0, 1fr);
}

.replica-body.home .elementor-element-d6c2c47 img { aspect-ratio: 16 / 9; }
.replica-body.home :is(.elementor-element-7a8046d, .elementor-element-f274a92) { display: none; }

/* A single, quiet statement separates the products from the invitation. */
.replica-body.home .content_inner .elementor > .elementor-element-9d4def6 {
  background: var(--brand-dark);
  color: #fffdf7;
}

.replica-body.home .elementor-element-4bd4d3c > .elementor-widget-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.replica-body.home .elementor-element-5f45dad h3 {
  font: 400 clamp(1.75rem, 2.8vw, 2.5rem)/1.35 var(--brand-heading) !important;
  color: inherit;
  max-width: 42ch;
  text-wrap: pretty;
}

.replica-body.home .elementor-element-e458b44 :is(h4, h4 span, h4 i) {
  font: 400 1rem/1.7 var(--brand-body) !important;
  letter-spacing: 0 !important;
  color: var(--brand-muted-light);
  margin: 0;
}

.replica-body.home .elementor-element-e458b44 h4:first-child { font-weight: 600 !important; }
.replica-body.home .content_inner .elementor > .elementor-element-3a48a5e { background: #f7f5ef; }
.replica-body.home .elementor-element-3a48a5e :is(h2, p, h2 span, p span) { color: var(--brand-ink) !important; }
.replica-body.home .elementor-element-a89dcb1 img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.replica-body.home :is(.elementor-element-f1f0c3d .qbutton, .elementor-element-44877ad .elementor-button) {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 14px 26px !important;
  border: 1px solid var(--brand-accent);
  border-radius: 0;
  background: var(--brand-accent) !important;
  color: white !important;
  font: 500 1rem/1.5 var(--brand-body) !important;
  letter-spacing: .025em !important;
  text-transform: none;
  transition: background-color .2s;
}

.replica-body.home :is(.elementor-element-f1f0c3d .qbutton, .elementor-element-44877ad .elementor-button):hover { background: var(--brand-dark) !important; }
.replica-body.home .elementor-element-f1f0c3d .qode-underlined-button-span { display: none; }
.replica-body.home .seo-section { background: #fff; padding-block: var(--home-section-space); }
.replica-body.home .seo-inner > h2 { margin-bottom: 24px; }
.replica-body.home .seo-links { margin-block: 24px var(--home-section-space); }
.replica-body.home .faq-list { max-width: 65rem; }

@media (max-width: 767px) {
  .replica-body.home {
    --featured-title-offset: 0px;
    --featured-title-edge: var(--home-gutter);
  }
}

@media (max-width: 900px) {
  .replica-body.home :is(.elementor-element-69ba8e0, .elementor-element-3a48a5e) > .elementor-container {
    grid-template-columns: minmax(0, 1fr);
  }
  .replica-body.home .elementor-element-a1b88a9 > .elementor-widget-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .replica-body.home .elementor-element-92519bc { grid-column: 1; grid-row: 3; }
  .replica-body.home .elementor-element-a89dcb1 img { aspect-ratio: 4 / 3; }
  .replica-body.home .original-hero { height: 75svh; min-height: 460px; }
}
