@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700&display=swap');

:root {
  color-scheme: light;
  --ivory: #f6efe8;
  --plum: #4a272d;
  --plum-deep: #2d181b;
  --bronze: #b97844;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--plum-deep); }
body { margin: 0; font-family: Manrope, Arial, sans-serif; background: #efe5dc; color: #171518; }
main {
  overflow: hidden;
  width: 100%;
  max-width: 1909px;
  margin-inline: auto;
  background: #efe5dc;
  box-shadow: 0 0 72px rgba(45, 24, 27, .12);
}

.screen {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 0;
  background: #e8d8cc;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease;
}
.screen + .screen {
  /* The next scene overlaps the previous one and fades in inside the image
     itself, so there is no separate transition strip. */
  margin-top: clamp(-112px, -6.2vw, -58px);
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    rgba(0, 0, 0, .08) 1.2%,
    rgba(0, 0, 0, .34) 3.8%,
    rgba(0, 0, 0, .68) 6.8%,
    rgba(0, 0, 0, .9) 9.2%,
    #000 11.2%,
    #000 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    rgba(0, 0, 0, .08) 1.2%,
    rgba(0, 0, 0, .34) 3.8%,
    rgba(0, 0, 0, .68) 6.8%,
    rgba(0, 0, 0, .9) 9.2%,
    #000 11.2%,
    #000 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  box-shadow: 0 -34px 62px rgba(246, 231, 219, .2);
}
.screen.is-visible { opacity: 1; transform: none; }
.screen img {
  position: relative;
  z-index: 1;
  display: block;
  width: 88%;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
}
.screen--hero { background: #f7f2ec; }
.screen:nth-of-type(2) { background: #c8a995; }
.screen:nth-of-type(3) { background: #765848; }
.screen:nth-of-type(4) { background: #563027; }
.screen:nth-of-type(5) { background: #c9ae9e; }
.screen:nth-of-type(6), .screen:nth-of-type(7), .screen:nth-of-type(8), .screen:nth-of-type(9), .screen:nth-of-type(10) { background: #eaded5; }
.screen--contact { background: var(--plum-deep); }

/* Slide 6 uses a deeper overlap, but finishes revealing before its eyebrow
   copy begins. A transparent tonal veil connects the two architectural sets. */
#deliverables {
  margin-top: clamp(-118px, -7vw, -64px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.14) 1.2%, rgba(0,0,0,.48) 3%, rgba(0,0,0,.82) 5.2%, #000 7.2%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.14) 1.2%, rgba(0,0,0,.48) 3%, rgba(0,0,0,.82) 5.2%, #000 7.2%, #000 100%);
}

#deliverables::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 14%;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(58,35,31,.30), rgba(104,72,61,.13) 48%, transparent 100%);
  mix-blend-mode: multiply;
}

/* Keep the tariffs slide visually tall: its eyebrow and CTA sit close to the
   raster edges, so this scene uses shorter overlaps and earlier mask reveal. */
#formats {
  margin-top: clamp(-48px, -3vw, -28px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.34) .7%, rgba(0,0,0,.76) 1.7%, #000 2.8%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.34) .7%, rgba(0,0,0,.76) 1.7%, #000 2.8%, #000 100%);
}

#formats::before,
#formats::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  width: 100%;
  height: 9%;
  pointer-events: none;
}

#formats::before { top: 0; background: linear-gradient(to bottom, rgba(204,184,170,.16), transparent 100%); }
#formats::after { bottom: 0; background: linear-gradient(to bottom, transparent, rgba(225,207,193,.14) 100%); }
#metrics { margin-top: clamp(-50px, -3vw, -30px); }

#cta::after,
#contact::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  width: 100%;
  pointer-events: none;
}

#cta::after {
  bottom: 0;
  height: 17%;
  background: rgba(77, 42, 45, .16);
  mix-blend-mode: color;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 92%);
  mask-image: linear-gradient(to bottom, transparent, #000 92%);
}

#contact::before {
  top: 0;
  height: 14%;
  background: rgba(181, 126, 84, .12);
  mix-blend-mode: soft-light;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 94%);
  mask-image: linear-gradient(to bottom, #000, transparent 94%);
}

.hotspot { position: absolute; z-index: 3; display: block; border-radius: .35rem; }
.hotspot:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 5px var(--plum); }
.hotspot--hero-cta { left: 9.7%; top: 70.4%; width: 14.4%; height: 7.2%; }
.hotspot--hero-more { left: 25.5%; top: 70.4%; width: 18%; height: 7.2%; }
.hotspot--cta-main { left: 9.9%; top: 67.4%; width: 43.7%; height: 11.2%; }
.hotspot--cta-example { left: 9.9%; top: 80.7%; width: 43.7%; height: 10.6%; }
.hotspot--formats-cta { left: 62.1%; top: 89.5%; width: 27.6%; height: 5.5%; }
.hero-blog-link {
  position: absolute; z-index: 4; left: 38.2%; top: 2.8%; width: 5.4%; height: 4.8%;
  display: flex; align-items: center; justify-content: center;
  color: #211d1e; text-decoration: none; font: 500 clamp(7px, 1.02vw, 17px)/1 Manrope, sans-serif;
  background: radial-gradient(ellipse at center, rgba(249,246,242,.99) 0 70%, rgba(249,246,242,0) 100%);
}
.hero-blog-link:hover { color: var(--bronze); }

.lead-form {
  position: absolute;
  z-index: 3;
  left: 65.8%;
  top: 7.8%;
  width: 24.4%;
  height: 68.8%;
  display: grid;
  grid-template-rows: auto repeat(3, 1fr) 1.7fr auto 1.35fr auto;
  gap: 1.5%;
  color: #eee5df;
}
.lead-form__heading { font-size: clamp(.75rem, 1.05vw, 1.2rem); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 2%; }
.lead-form label { display: flex; flex-direction: column; gap: .25rem; font-size: clamp(.7rem, 1vw, 1.05rem); }
.lead-form input, .lead-form textarea {
  width: 100%; min-height: 2.7rem; resize: none;
  border: 1px solid rgba(238,229,223,.38); border-radius: 7px;
  background: rgba(61,35,37,.14); color: #fff; padding: .6rem .75rem;
  font: inherit; outline: none;
}
.lead-form input:focus, .lead-form textarea:focus { border-color: rgba(238,191,142,.95); box-shadow: 0 0 0 2px rgba(185,120,68,.25); }
.lead-form__consent { flex-direction: row !important; align-items: center; }
.lead-form__consent input { width: 1.55rem; min-height: 1.55rem; accent-color: var(--bronze); flex: 0 0 auto; }
.lead-form button {
  border: 1px solid rgba(255,255,255,.08); border-radius: 4px; cursor: pointer;
  background: #704348; color: #fff; font: 400 clamp(.9rem, 1.35vw, 1.35rem)/1 Manrope, sans-serif;
  display: flex; align-items: center; justify-content: space-between; padding: 0 9%;
  transition: background-color .2s ease, transform .2s ease;
}
.lead-form button:hover { background: #7b4c51; transform: translateY(-1px); }
.lead-form__status { min-height: 1.2em; margin: 0; font-size: .75rem; }

@media (min-width: 901px) {
  .lead-form__heading { opacity: 0; }
  .lead-form label { font-size: 0; }
  .lead-form input, .lead-form textarea { border-color: transparent; background: transparent; color: #fff; }
  .lead-form input:focus, .lead-form textarea:focus { border-color: rgba(238,191,142,.82); background: rgba(61,35,37,.2); }
  .lead-form__consent span { opacity: 0; }
  .lead-form__consent input { opacity: 0; }
  .lead-form button { color: transparent; background: transparent; border-color: transparent; }
  .lead-form button:hover { background: rgba(123,76,81,.12); }
  .lead-form__status { color: #f2d7bf; font-size: clamp(.55rem,.7vw,.78rem); }
}

.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 900px) {
  main { max-width: none; box-shadow: none; }
  .screen { min-height: 0; opacity: 1; transform: none; }
  .screen img { width: 100%; margin-inline: 0; }
  .screen + .screen {
    margin-top: -44px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.18) 2.5%, rgba(0,0,0,.64) 6%, #000 10.5%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0, rgba(0,0,0,.18) 2.5%, rgba(0,0,0,.64) 6%, #000 10.5%, #000 100%);
  }
  .hotspot { display: none; }
  .hotspot--formats-cta,
  .hotspot--cta-main,
  .hotspot--cta-example { display: block; }
  .hotspot--hero-cta { left: 4.2%; width: 16.4%; }
  .hotspot--hero-more { left: 22.2%; width: 20.5%; }
  .hotspot--cta-main { left: 4.4%; width: 49.7%; }
  .hotspot--cta-example { left: 4.4%; width: 49.7%; }
  .hotspot--formats-cta { left: 63.8%; width: 31.4%; }
  .hero-blog-link { left: 36.55%; width: 6.1%; }
  .hero-blog-link { font-size: clamp(7px, 1.02vw, 10px); }
  .screen--contact { padding-bottom: 2rem; }
  /* Show only the left editorial half of the raster; the usable HTML form follows below. */
  .screen--contact > img { width: 200%; max-width: none; transform: none; transform-origin: top left; }
  .lead-form {
    position: relative; left: auto; top: auto; width: calc(100% - 2rem); height: auto;
    margin: -1px auto 0; padding: 1.25rem; display: flex; gap: .9rem; flex-direction: column;
    background: rgba(45,24,27,.96); border: 1px solid rgba(238,191,142,.28); border-radius: 14px;
  }
  .lead-form__heading { font-size: .9rem; }
  .lead-form label { font-size: .85rem; }
  .lead-form input, .lead-form textarea { border-color: rgba(238,229,223,.38); background: rgba(61,35,37,.14); }
  .lead-form__consent span, .lead-form__consent input { opacity: 1; }
  .lead-form button { min-height: 3.5rem; font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .screen, .lead-form button { transition: none; }
}
