/* Dealsmaster Editorial v8: The Open Room brand and a warmer first welcome. */

:root {
  --dm-brand-forest: #24372e;
  --dm-brand-coral: #c66349;
  --dm-brand-butter: #e2bd5e;
  --dm-brand-paper: #fcf8f1;
  --dm-brand-apricot: #e7b69f;
}

/* A useful story ribbon, not an empty decorative strip. */
.dm-topline {
  position: relative;
  overflow: hidden;
  color: var(--dm-ink);
}

.dm-topline::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 22%, rgba(255,255,255,0.35) 48%, transparent 72%);
  content: "";
  pointer-events: none;
  transform: translateX(-120%);
}

.dm-brand-v8.dm-brand-ready:not(.dm-reduced-motion) .dm-topline::after {
  animation: dm-topline-welcome 1100ms cubic-bezier(.2,.72,.22,1) 120ms 1 both;
}

@keyframes dm-topline-welcome {
  to { transform: translateX(120%); }
}

.dm-topline-inner { min-height: 34px; }
.dm-topline-tagline { color: rgba(32,29,24,0.78); }
.dm-topline-story { min-width: 0; }
.dm-topline-story > a { color: var(--dm-ink); }
.dm-topline-story > a::before {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--dm-rust);
  box-shadow: 0 0 0 4px rgba(126,48,34,0.11);
  content: "";
}

/* The main brand row becomes a composed masthead. */
.dm-brand-row {
  display: grid !important;
  min-height: 88px;
  grid-template-columns: auto minmax(210px, 1fr) auto;
  gap: clamp(1.25rem, 3vw, 3.25rem);
  align-items: center;
  padding-block: 0.7rem;
}

.dm-brand-lockup {
  display: flex !important;
  min-width: 0;
  gap: 0.8rem;
  align-items: center;
}

.dm-monogram.dm-logo-mark {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
  overflow: visible;
  border-radius: 0;
  color: var(--dm-brand-forest);
  background: transparent;
  box-shadow: none;
}

.dm-logo-mark svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.dm-logo-door {
  fill: var(--dm-brand-forest);
  transform-box: fill-box;
  transform-origin: 50% 100%;
}

.dm-logo-light {
  fill: var(--dm-brand-coral);
  transform-box: fill-box;
  transform-origin: center;
}

.dm-brand-v8:not(.dm-brand-ready):not(.dm-reduced-motion) .dm-logo-door {
  opacity: 0;
  transform: translateY(7px) scaleY(0.82);
}

.dm-brand-v8:not(.dm-brand-ready):not(.dm-reduced-motion) .dm-logo-light {
  opacity: 0;
  transform: translate(-3px, 4px) scale(0.5);
}

.dm-brand-v8.dm-brand-ready:not(.dm-reduced-motion) .dm-logo-door {
  opacity: 1;
  transform: none;
  transition: opacity 420ms ease, transform 560ms cubic-bezier(.2,.72,.22,1);
}

.dm-brand-v8.dm-brand-ready:not(.dm-reduced-motion) .dm-logo-light {
  opacity: 1;
  transform: none;
  transition: opacity 300ms ease 270ms, transform 480ms cubic-bezier(.2,.72,.22,1) 270ms, fill 220ms ease;
}

.dm-brand-signature {
  display: flex;
  min-width: 0;
  gap: 0.8rem;
  align-items: center;
  color: var(--dm-ink);
  text-decoration: none;
}

.dm-brand-words {
  display: block;
  min-width: 0;
}

.dm-brand-name {
  display: block;
  font-family: var(--dm-serif);
  font-size: clamp(2.15rem, 3.45vw, 3.35rem);
  font-weight: 590;
  letter-spacing: -0.052em;
  line-height: 0.88;
  text-transform: none;
}

.dm-brand-tagline {
  display: block;
  margin-top: 0.48rem;
  color: #5d574f;
  font-size: 0.66rem;
  font-weight: 720;
  letter-spacing: 0.13em;
  line-height: 1.15;
  text-transform: uppercase;
}

.dm-header-promise {
  display: grid;
  max-width: 34rem;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.6rem 0.85rem;
  align-items: center;
  justify-self: center;
  margin: 0;
  padding-left: clamp(1rem, 2vw, 1.6rem);
  border-left: 1px solid rgba(126,48,34,0.27);
  color: #62594f;
}

.dm-header-promise span {
  color: var(--dm-rust);
  font-family: var(--dm-serif);
  font-size: 1.16rem;
  font-style: italic;
  line-height: 1;
}

.dm-header-promise strong {
  font-size: 0.76rem;
  font-weight: 670;
  letter-spacing: 0.035em;
  line-height: 1.35;
}

.dm-brand-tools {
  display: grid !important;
  grid-template-columns: auto minmax(250px, 340px);
  gap: 1rem;
  align-items: center;
}

.dm-edition {
  color: #6b6258;
  font-size: 0.65rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.dm-header-search { width: min(340px, 30vw); }
.dm-header-search .wp-block-search__inside-wrapper {
  min-height: 48px;
  overflow: hidden;
  padding-left: 1rem;
  border: 1px solid rgba(73,59,45,0.2);
  border-radius: 999px;
  background: rgba(255,255,255,0.76);
  box-shadow: inset 0 1px rgba(255,255,255,0.9), 0 8px 24px rgba(64,47,32,0.055);
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.dm-header-search:focus-within .wp-block-search__inside-wrapper {
  border-color: rgba(126,48,34,0.64);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(198,99,73,0.12), 0 12px 30px rgba(64,47,32,0.08);
}

.dm-header-search .wp-block-search__input {
  min-width: 0;
  color: var(--dm-ink);
  font-size: 1rem;
}

.dm-header-search .wp-block-search__button {
  width: 46px;
  min-width: 46px;
  height: 46px;
  margin: 0 1px 0 0;
  border: 0;
  border-radius: 50%;
  color: var(--dm-ink);
  background: var(--dm-brand-butter);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.dm-header-search .wp-block-search__button:hover,
.dm-header-search .wp-block-search__button:focus-visible {
  color: #fffaf2;
  background: var(--dm-brand-coral);
}

/* A dark discovery rail gives the masthead a memorable base. */
.dm-nav-bar {
  border-top: 0;
  border-bottom: 1px solid rgba(16,27,22,0.8);
  color: #fff8ee;
  background:
    radial-gradient(circle at 80% 120%, rgba(217,182,90,0.12), transparent 30%),
    linear-gradient(110deg, #1f332a, #2b4136 55%, #21362d);
  box-shadow: inset 0 1px rgba(255,255,255,0.08), 0 5px 18px rgba(38,31,24,0.08);
}

.dm-nav-inner { min-height: 50px; }

.dm-nav-bar .wp-block-navigation-item__content {
  position: relative;
  color: rgba(255,248,238,0.9);
}

.dm-nav-bar .wp-block-navigation-item__content:hover,
.dm-nav-bar .wp-block-navigation-item__content:focus-visible { color: #fff; }

.dm-nav-bar .wp-block-navigation-item__content::after {
  bottom: -0.6rem;
  background: var(--dm-brand-butter);
}

.dm-nav-about a { color: var(--dm-brand-butter); }
.dm-mobile-about-link { display: none !important; }
.dm-nav-about a::after { margin-left: 0.42rem; content: "↗"; }

.dm-nav-docked .dm-nav-bar {
  background: rgba(31,51,42,0.94);
  box-shadow: 0 12px 34px rgba(20,30,25,0.22), inset 0 -1px rgba(226,189,94,0.25);
  backdrop-filter: blur(14px) saturate(1.08);
}

/* The hero is one warm editorial room, with the photograph entering early. */
.dm-home-hero {
  --dm-hero-shift-x: 0px;
  --dm-hero-shift-y: 0px;
  --dm-hero-orbit-x: 0px;
  --dm-hero-orbit-y: 0px;
  min-height: min(790px, calc(100svh - 104px));
  padding: clamp(2.8rem, 5vw, 5.4rem) 0 clamp(4.6rem, 7vw, 7.2rem);
  background-color: #f3e8da;
  background-image:
    radial-gradient(circle at 13% 4%, rgba(226,189,94,0.23), transparent 31rem),
    radial-gradient(circle at 91% 12%, rgba(198,99,73,0.18), transparent 30rem),
    radial-gradient(circle at 62% 102%, rgba(101,118,147,0.12), transparent 34rem),
    var(--dm-texture-paper),
    linear-gradient(132deg, #f8f1e7 0%, #f2e2d5 58%, #ebd4c8 100%);
  background-size: auto, auto, auto, 720px 720px, auto;
  background-blend-mode: normal, normal, normal, soft-light, normal;
}

.dm-home-hero::after { display: none; }

.dm-home-hero__atmosphere {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.dm-hero-arch {
  position: absolute;
  top: clamp(-12rem, -14vw, -7rem);
  right: clamp(-10rem, -8vw, -3rem);
  width: clamp(24rem, 43vw, 43rem);
  aspect-ratio: 1;
  border: clamp(9px, 1vw, 16px) solid rgba(198,99,73,0.34);
  border-radius: 50% 50% 44% 44%;
  box-shadow:
    0 0 0 clamp(1.4rem, 3vw, 4rem) rgba(198,99,73,0.055),
    0 0 90px rgba(198,99,73,0.11);
  transform: translate3d(var(--dm-hero-orbit-x), var(--dm-hero-orbit-y), 0) rotate(-7deg);
  transition: transform 360ms cubic-bezier(.2,.72,.22,1);
}

.dm-hero-sun {
  position: absolute;
  bottom: -8rem;
  left: -5rem;
  width: clamp(16rem, 31vw, 30rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(226,189,94,0.2);
  filter: blur(1px);
}

.dm-hero-thread {
  position: absolute;
  bottom: 13%;
  left: 4%;
  width: clamp(8rem, 17vw, 16rem);
  height: clamp(3rem, 6vw, 6rem);
  border-bottom: 1px solid rgba(36,55,46,0.2);
  border-radius: 50%;
  transform: rotate(-8deg);
}

.dm-home-hero__grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: clamp(1.25rem, 2.8vw, 2.8rem) clamp(1.8rem, 4vw, 4.4rem);
  align-items: center;
}

.dm-home-hero__copy {
  grid-column: 1 / span 5;
  grid-row: 1;
  align-self: end;
  padding: 0;
}

.dm-hero-welcome {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin: 0 0 clamp(1rem, 2vw, 1.55rem);
  color: var(--dm-rust);
  font-family: var(--dm-serif);
  font-size: clamp(1rem, 1.45vw, 1.28rem);
  font-style: italic;
  line-height: 1;
}

.dm-hero-welcome i {
  width: 30px;
  height: 1px;
  background: rgba(126,48,34,0.35);
}

.dm-hero-welcome strong { color: #5f574d; font-weight: 520; }

.dm-home-hero .dm-kicker {
  margin-bottom: 0.9rem;
  color: #79382d;
}

.dm-home-hero .dm-edition-title {
  max-width: 9.6ch;
  margin: 0;
  font-size: clamp(3.9rem, 6.25vw, 7.1rem);
  font-weight: 505;
  letter-spacing: -0.062em;
  line-height: 0.84;
  text-wrap: balance;
}

.dm-home-hero .dm-edition-title em {
  position: relative;
  color: var(--dm-rust);
  font-weight: 500;
  text-decoration: none;
}

.dm-home-hero .dm-edition-title em::after {
  position: absolute;
  right: 0;
  bottom: 0.03em;
  left: 0;
  height: 0.06em;
  border-radius: 999px;
  background: var(--dm-brand-butter);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
}

.dm-brand-v8.dm-brand-ready:not(.dm-reduced-motion) .dm-home-hero .dm-edition-title em::after {
  transform: scaleX(1);
  transition: transform 720ms cubic-bezier(.2,.72,.22,1) 360ms;
}

.dm-home-hero__intro {
  grid-column: 1 / span 5;
  grid-row: 2;
  align-self: start;
}

.dm-home-hero__intro > p {
  max-width: 48ch;
  margin: 0;
  color: #5c544a;
  font-size: clamp(1rem, 1.28vw, 1.14rem);
  line-height: 1.58;
}

.dm-hero-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.dm-hero-values li {
  display: inline-flex;
  min-height: 36px;
  gap: 0.45rem;
  align-items: center;
  padding: 0.45rem 0.7rem 0.45rem 0.5rem;
  border: 1px solid rgba(73,59,45,0.16);
  border-radius: 999px;
  color: #514940;
  background: rgba(252,248,241,0.58);
  font-size: 0.72rem;
  font-weight: 680;
  letter-spacing: 0.025em;
  backdrop-filter: blur(8px);
}

.dm-hero-values li span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff9ef;
  background: var(--dm-brand-forest);
  font-size: 0.56rem;
  font-variant-numeric: tabular-nums;
}

.dm-home-hero__feature {
  grid-column: 6 / -1;
  grid-row: 1 / span 2;
  padding: 0 0 clamp(5.8rem, 9vw, 8.8rem);
  transform: translate3d(var(--dm-hero-shift-x), var(--dm-hero-shift-y), 0);
  transition: transform 360ms cubic-bezier(.2,.72,.22,1);
}

.dm-home-hero__feature::before {
  position: absolute;
  z-index: -1;
  top: 1.1rem;
  right: -1rem;
  bottom: clamp(6.7rem, 9vw, 9.5rem);
  left: 1.25rem;
  border: 1px solid rgba(36,55,46,0.18);
  background: rgba(252,248,241,0.44);
  content: "";
  transform: rotate(1.4deg);
}

.dm-home-hero__feature .dm-story-image {
  min-height: clamp(430px, 48vw, 650px);
  aspect-ratio: 6 / 5;
  border: 8px solid rgba(252,248,241,0.9);
  border-radius: 0 7rem 0 0;
  outline: 1px solid rgba(64,47,35,0.12);
  box-shadow: 0 34px 82px rgba(63,43,28,0.2), 0 8px 20px rgba(63,43,28,0.1);
}

.dm-home-hero__feature .dm-story-image img {
  transform: scale(1.025);
  transition: transform 800ms cubic-bezier(.2,.72,.22,1), filter 500ms ease;
}

.dm-feature-stamp {
  position: absolute;
  z-index: 7;
  top: -1rem;
  right: 1.2rem;
  display: grid;
  min-width: 84px;
  min-height: 84px;
  place-content: center;
  border-radius: 50%;
  color: #fff8ee;
  background: var(--dm-brand-forest);
  box-shadow: 0 12px 28px rgba(32,46,39,0.2);
  text-align: center;
}

.dm-feature-stamp b {
  font-family: var(--dm-serif);
  font-size: 1.5rem;
  font-weight: 530;
  line-height: 0.9;
}

.dm-feature-stamp i {
  margin-top: 0.28rem;
  color: var(--dm-brand-butter);
  font-size: 0.54rem;
  font-style: normal;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.dm-home-hero__slip {
  position: relative;
  z-index: 6;
  width: min(92%, 670px);
  grid-column: 5 / -1;
  grid-row: 2;
  align-self: end;
  justify-self: end;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  border: 1px solid rgba(70,52,38,0.16);
  border-top: 6px solid var(--dm-brand-butter);
  border-bottom: 3px solid var(--dm-brand-coral);
  border-radius: 2px;
  background: rgba(252,248,241,0.96);
  box-shadow: 0 24px 56px rgba(61,43,25,0.2);
  backdrop-filter: blur(13px) saturate(1.05);
  transform: translateY(clamp(2.2rem, 4vw, 4rem));
}

.dm-home-hero__slip h2 { color: var(--dm-ink); }
.dm-home-hero__slip .dm-story-meta span:first-child { color: var(--dm-rust); }

.dm-hero-cue { color: #4f473d; }

.dm-brand-v8:not(.dm-brand-ready):not(.dm-reduced-motion) .dm-header-promise,
.dm-brand-v8:not(.dm-brand-ready):not(.dm-reduced-motion) .dm-hero-welcome,
.dm-brand-v8:not(.dm-brand-ready):not(.dm-reduced-motion) .dm-home-hero__intro,
.dm-brand-v8:not(.dm-brand-ready):not(.dm-reduced-motion) .dm-feature-stamp {
  opacity: 0;
  transform: translateY(10px);
}

.dm-brand-v8.dm-brand-ready:not(.dm-reduced-motion) .dm-header-promise,
.dm-brand-v8.dm-brand-ready:not(.dm-reduced-motion) .dm-hero-welcome,
.dm-brand-v8.dm-brand-ready:not(.dm-reduced-motion) .dm-home-hero__intro,
.dm-brand-v8.dm-brand-ready:not(.dm-reduced-motion) .dm-feature-stamp {
  opacity: 1;
  transform: none;
  transition: opacity 480ms cubic-bezier(.2,.72,.22,1), transform 540ms cubic-bezier(.2,.72,.22,1);
}

.dm-brand-v8.dm-brand-ready:not(.dm-reduced-motion) .dm-header-promise { transition-delay: 90ms; }
.dm-brand-v8.dm-brand-ready:not(.dm-reduced-motion) .dm-hero-welcome { transition-delay: 70ms; }
.dm-brand-v8.dm-brand-ready:not(.dm-reduced-motion) .dm-home-hero__intro { transition-delay: 150ms; }
.dm-brand-v8.dm-brand-ready:not(.dm-reduced-motion) .dm-feature-stamp { transition-delay: 230ms; }

/* Keep the promise and hero legible before or without JavaScript. */
.dm-motion-v7:not(.dm-reduced-motion) .dm-home-hero .dm-edition-title,
.dm-motion-v7:not(.dm-reduced-motion) .dm-home-hero__copy > p {
  opacity: 1;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .dm-brand-signature:hover .dm-logo-light,
  .dm-brand-signature:focus-visible .dm-logo-light {
    fill: var(--dm-brand-butter);
    transform: translateY(-2px) scale(1.08);
  }

  .dm-home-hero__feature .dm-story-image:hover img { transform: scale(1.055); }
  .dm-header-search .wp-block-search__button:hover { transform: rotate(-7deg); }
}

@media (max-width: 1180px) {
  .dm-brand-row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .dm-header-promise { justify-self: start; }
  .dm-header-promise strong { max-width: 18ch; }
  .dm-brand-tools { grid-template-columns: minmax(240px, 310px); }
  .dm-brand-tools .dm-edition { display: none; }
}

@media (max-width: 980px) {
  .dm-header-promise { display: none; }
  .dm-brand-row { grid-template-columns: minmax(0, 1fr) auto; }
  .dm-brand-tools { grid-column: 2; }
  .dm-home-hero .dm-edition-title { font-size: clamp(3.6rem, 7vw, 5.5rem); }
}

@media (max-width: 782px) {
  .dm-topline-inner {
    min-height: 44px;
    justify-content: flex-start;
  }

  .dm-topline p { display: block; }
  .dm-topline-tagline { display: none !important; }
  .dm-topline-story {
    display: block !important;
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  .dm-topline-story > a {
    display: grid;
    min-height: 44px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.45rem;
    align-items: center;
  }

  .dm-topline-story > a > span,
  .dm-topline-story > a > time { display: none; }
  .dm-topline-story > a > strong { max-width: none; font-size: 0.72rem; }
  .dm-topline-story > a > i { font-size: 0.9rem; }

  .dm-brand-row {
    position: relative;
    display: grid !important;
    min-height: 64px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    padding-block: 0.45rem;
  }

  .dm-brand-lockup { grid-column: 1; }
  .dm-monogram.dm-logo-mark { width: 44px; height: 44px; }
  .dm-brand-signature { gap: 0.62rem; }
  .dm-brand-name { font-size: clamp(1.72rem, 7.8vw, 2.15rem); }
  .dm-brand-tagline {
    display: block;
    margin-top: 0.34rem;
    font-size: 0.52rem;
    letter-spacing: 0.1em;
  }

  .dm-brand-tools {
    position: static;
    display: block !important;
    width: 48px;
    grid-column: 2;
  }

  .dm-header-search {
    position: static;
    width: 48px;
    margin: 0;
  }

  .dm-header-search .wp-block-search__inside-wrapper {
    min-height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .dm-header-search .wp-block-search__input {
    position: absolute;
    width: 1px;
    min-width: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
  }

  .dm-header-search .wp-block-search__button {
    width: 48px;
    min-width: 48px;
    height: 48px;
    margin: 0;
    border: 0;
    color: #fff8ee;
    background: var(--dm-brand-forest);
  }

  .dm-header-search.is-open {
    position: absolute;
    z-index: 50;
    inset: 0;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0;
    background: var(--dm-brand-paper);
  }

  .dm-header-search.is-open .wp-block-search__inside-wrapper {
    width: 100%;
    min-height: 50px;
    padding-left: 0.95rem;
    border: 1px solid rgba(73,59,45,0.23);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(64,47,32,0.12);
  }

  .dm-header-search.is-open .wp-block-search__input {
    position: static;
    width: 100%;
    min-width: 0;
    padding: 0.55rem 0;
    opacity: 1;
    pointer-events: auto;
  }

  .dm-header-search.is-open .wp-block-search__button {
    width: 46px;
    min-width: 46px;
    height: 46px;
    color: var(--dm-ink);
    background: var(--dm-brand-butter);
  }

  .dm-nav-inner { min-height: 44px; }
  .dm-nav-bar .wp-block-navigation__responsive-container-open {
    min-width: 44px;
    min-height: 44px;
    color: #fff8ee;
  }
  .dm-nav-bar .wp-block-navigation__responsive-container-close {
    display: grid;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    place-items: center;
  }
  .dm-nav-bar .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding-block: 0.55rem;
  }
  .dm-nav-bar .wp-block-navigation__responsive-container-open::after {
    color: #fff8ee;
    content: "Browse the house";
  }
  .dm-nav-about { display: none; }
  .dm-nav-bar .wp-block-navigation__responsive-container.is-menu-open .dm-mobile-about-link {
    display: flex !important;
  }

  .dm-home-hero {
    min-height: 0;
    padding: 0.85rem 0 3.8rem;
  }

  .dm-home-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1.25rem;
  }

  .dm-home-hero__copy,
  .dm-home-hero__feature,
  .dm-home-hero__intro,
  .dm-home-hero__slip {
    grid-column: 1;
    grid-row: auto;
  }

  .dm-home-hero__feature { order: 1; }
  .dm-home-hero__copy {
    z-index: 7;
    order: 2;
    margin: -4rem 0.75rem 0;
    padding: 1.2rem 1rem 1.25rem;
    border-top: 5px solid var(--dm-brand-coral);
    background: rgba(252,248,241,0.97);
    box-shadow: 0 18px 44px rgba(61,43,25,0.16);
  }
  .dm-home-hero__slip { order: 3; }
  .dm-home-hero__intro { order: 4; }

  .dm-hero-welcome {
    margin-bottom: 0.85rem;
    font-size: 1rem;
  }

  .dm-home-hero .dm-kicker { margin-bottom: 0.62rem; font-size: 0.64rem; }
  .dm-home-hero .dm-edition-title {
    max-width: 10.5ch;
    font-size: clamp(2.72rem, 12.4vw, 4rem);
    line-height: 0.88;
  }

  .dm-home-hero__feature {
    margin-top: 0.2rem;
    padding: 0;
    transform: none;
  }

  .dm-home-hero__feature::before {
    top: 0.65rem;
    right: -0.35rem;
    bottom: 0.25rem;
    left: 0.75rem;
  }

  .dm-home-hero__feature .dm-story-image {
    height: clamp(285px, 43svh, 355px);
    min-height: 285px;
    border-width: 5px;
    border-radius: 0 4.2rem 0 0;
  }

  .dm-feature-stamp {
    top: -0.65rem;
    right: 0.7rem;
    min-width: 66px;
    min-height: 66px;
  }
  .dm-feature-stamp b { font-size: 1.2rem; }
  .dm-feature-stamp i { font-size: 0.46rem; }

  .dm-home-hero__slip {
    position: relative;
    z-index: 5;
    width: auto;
    margin: 0 0.75rem;
    padding: 1rem;
    transform: none;
  }

  .dm-home-hero__slip h2 { font-size: clamp(1.65rem, 7.7vw, 2.35rem); }
  .dm-home-hero__slip > p:not(.dm-story-meta) { display: none; }

  .dm-home-hero__intro { padding: 0.3rem 0.2rem 0; }
  .dm-home-hero__intro > p { font-size: 1rem; line-height: 1.58; }
  .dm-hero-values { gap: 0.45rem; margin-top: 1rem; }
  .dm-hero-values li { min-height: 34px; font-size: 0.67rem; }
  .dm-hero-cue { margin-top: 1rem; }

  .dm-hero-arch {
    top: -5rem;
    right: -9rem;
    width: 22rem;
    border-width: 9px;
  }
  .dm-hero-thread { display: none; }
}

@media (max-width: 390px) {
  .dm-monogram.dm-logo-mark { width: 40px; height: 40px; }
  .dm-brand-name { font-size: 1.62rem; }
  .dm-brand-tagline { font-size: 0.48rem; }
  .dm-home-hero .dm-edition-title { font-size: clamp(2.85rem, 13.2vw, 4rem); }
  .dm-nav-about a::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .dm-topline::after { display: none; }
  .dm-logo-door,
  .dm-logo-light,
  .dm-header-promise,
  .dm-hero-welcome,
  .dm-home-hero__intro,
  .dm-feature-stamp,
  .dm-home-hero__feature,
  .dm-hero-arch,
  .dm-home-hero .dm-edition-title em::after {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (forced-colors: active) {
  .dm-logo-door { fill: CanvasText; }
  .dm-logo-light { fill: Highlight; }
  .dm-home-hero__atmosphere,
  .dm-home-hero__feature::before { display: none; }
  .dm-nav-bar { border: 1px solid CanvasText; background: Canvas; }
  .dm-nav-bar .wp-block-navigation-item__content,
  .dm-nav-about a,
  .dm-nav-bar .wp-block-navigation__responsive-container-open { color: CanvasText; }
}

@media print {
  .dm-home-hero__atmosphere,
  .dm-feature-stamp,
  .dm-topline::after { display: none !important; }
  .dm-home-hero__feature { transform: none !important; }
}
