/* Rent homepage campaign hero — inspired by the supplied Stonham Barns flyer.
   The rules are scoped to this hero so listings, navigation and forms keep their existing styling. */
.rent-poster-hero {
  --rent-ink: #06223b;
  --rent-cyan: #03a4bb;
  --rent-white: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 80% 20%, #18c8cf 0%, #00a7c0 43%, #018ba9 100%);
  color: var(--rent-white);
}
.rent-poster-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(128deg, transparent 0 55px, rgba(255,255,255,.055) 56px 57px, transparent 58px 116px);
}
.rent-poster-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(3,134,162,.16), transparent 55%);
}
.rent-poster-hero__orb {
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  pointer-events: none;
  animation: rent-orbit-drift 16s ease-in-out infinite alternate;
}
.rent-poster-hero__orb--one { top: -330px; left: 21%; }
.rent-poster-hero__orb--two { right: -280px; bottom: -330px; width: 680px; height: 680px; animation-delay: -7s; }
.rent-poster-hero__grid.wrap {
  width: min(1370px, calc(100% - 84px));
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(26px, 3.2vw, 64px);
  position: relative;
  z-index: 1;
}
.rent-poster-hero__copy {
  position: relative;
  z-index: 3;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 77px 0 38px;
}
.rent-poster-hero__kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--rent-ink);
  font: 900 11px/1.35 'DM Sans', Arial, sans-serif;
  letter-spacing: .15em;
  animation: rent-poster-rise .75s both;
}
.rent-poster-hero__kicker-line { display: inline-block; flex: none; width: 30px; height: 2px; background: var(--rent-ink); }
.rent-poster-hero h1 {
  font: 900 clamp(68px, 6.7vw, 112px)/.79 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
  letter-spacing: -.018em;
  text-transform: uppercase;
  margin: 44px 0 27px;
  color: #fff;
  max-width: none;
}
.rent-poster-hero__headline-line {
  display: block;
  white-space: nowrap;
  text-shadow: 1px 4px 0 rgba(2,74,102,.07);
  animation: rent-poster-rise .78s cubic-bezier(.19,1,.22,1) both;
}
.rent-poster-hero__headline-line--one { animation-delay: .10s; }
.rent-poster-hero__headline-line--two { animation-delay: .24s; color: var(--rent-ink); }
.rent-poster-hero__headline-line--two em { font-style: normal; color: #fff; }
.rent-poster-hero__headline-line--three { animation-delay: .38s; }
.rent-poster-hero__headline-dot { color: var(--rent-ink); }
.rent-poster-hero__intro {
  width: min(480px, 100%);
  margin: 0;
  color: #07334b;
  font: 600 clamp(15px, 1.25vw, 17px)/1.65 'DM Sans', Arial, sans-serif;
  animation: rent-poster-rise .8s .5s both;
}
.rent-poster-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin: 30px 0 30px;
  animation: rent-poster-rise .8s .64s both;
}
.rent-poster-hero__button {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 22px;
  border: 2px solid var(--rent-ink);
  border-radius: 4px;
  text-decoration: none;
  font: 800 12px/1 'DM Sans', Arial, sans-serif;
  letter-spacing: .02em;
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}
.rent-poster-hero__button--primary { background: var(--rent-ink); color: #fff; box-shadow: 6px 6px 0 rgba(255,255,255,.45); }
.rent-poster-hero__button--secondary { background: rgba(255,255,255,.82); color: var(--rent-ink); }
.rent-poster-hero__button:hover { transform: translateY(-3px); box-shadow: 6px 8px 0 rgba(3,34,58,.18); }
.rent-poster-hero__button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.rent-poster-hero__button span { font-size: 19px; line-height: 0; }
.rent-poster-hero__facts {
  width: 100%;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(3,45,70,.27);
  display: flex;
  flex-wrap: wrap;
  gap: 11px 17px;
  color: #06374e;
  font: 800 10px/1.3 'DM Sans', Arial, sans-serif;
  letter-spacing: .12em;
  animation: rent-poster-rise .8s .77s both;
}
.rent-poster-hero__facts span + span::before { content: "◆"; font-size: 7px; vertical-align: 1px; margin-right: 17px; }
.rent-poster-hero__visual {
  position: relative;
  min-width: 0;
  min-height: 560px;
  align-self: stretch;
  margin-top: 40px;
  animation: rent-poster-visual-enter 1.1s .2s cubic-bezier(.2,1,.2,1) both;
}
.rent-poster-hero__photo {
  position: absolute;
  inset: 0 0 0 0;
  overflow: hidden;
  border: 7px solid rgba(255,255,255,.75);
  border-bottom: 0;
  border-radius: 15px 15px 0 0;
  box-shadow: -23px 25px 0 rgba(2,36,59,.12), 0 25px 70px rgba(2,44,70,.27);
  background: #022334 url('/assets/rent-hero-poster.webp') 64% 52% / auto 154% no-repeat;
  transform-origin: center center;
  animation: rent-poster-image-drift 15s 1.1s ease-in-out infinite alternate;
}
.rent-poster-hero__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,27,48,.05) 30%, rgba(0,26,44,.42) 100%);
}
.rent-poster-hero__photo-shine {
  position: absolute;
  inset: 7px 7px 0;
  overflow: hidden;
  border-radius: 9px 9px 0 0;
  pointer-events: none;
}
.rent-poster-hero__photo-shine::after {
  content: "";
  position: absolute;
  top: -35%; left: -75%;
  width: 60%; height: 185%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
  transform: rotate(20deg);
  animation: rent-poster-sheen 8.5s 2s ease-in-out infinite;
}
.rent-poster-hero__label {
  position: absolute;
  left: 26px;
  bottom: 34px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
  pointer-events: none;
}
.rent-poster-hero__label span { font: 800 10px/1.5 'DM Sans',Arial,sans-serif; letter-spacing: .2em; }
.rent-poster-hero__label strong { font: 900 clamp(28px, 2.9vw, 44px)/1 'Barlow Condensed',Impact,sans-serif; letter-spacing: .04em; }
.rent-poster-hero__stamp {
  position: absolute;
  right: -22px;
  top: 66%;
  z-index: 2;
  padding: 16px 25px 14px;
  border: 6px solid #fff;
  border-radius: 15px;
  background: #06223b;
  box-shadow: 0 14px 35px rgba(1,28,47,.28);
  color: #fff;
  text-align: center;
  transform: rotate(-9deg);
  animation: rent-poster-stamp-in .85s .85s cubic-bezier(.18,1.5,.3,1) both, rent-poster-stamp-float 5s 1.7s ease-in-out infinite;
  pointer-events: none;
}
.rent-poster-hero__stamp span { display: block; font: 800 12px/1.2 'DM Sans',Arial,sans-serif; letter-spacing: .18em; }
.rent-poster-hero__stamp strong { display: block; font: 900 clamp(25px, 2.5vw, 40px)/1 'Barlow Condensed',Impact,sans-serif; white-space: nowrap; margin: 1px 0; }
.rent-poster-hero__ticker {
  position: relative;
  z-index: 4;
  overflow: hidden;
  border-top: 3px solid rgba(255,255,255,.18);
  background: #05243d;
  color: #fff;
}
.rent-poster-hero__ticker-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: rent-poster-ticker 32s linear infinite;
}
.rent-poster-hero__ticker-track > span {
  display: block;
  flex: none;
  padding: 17px 26px 16px 0;
  font: 800 22px/1 'Barlow Condensed', Impact, sans-serif;
  letter-spacing: .12em;
}
.rent-poster-hero__ticker b { color: #1dc6d1; margin: 0 23px; font-size: 16px; }

@keyframes rent-poster-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rent-poster-visual-enter { from { opacity: 0; transform: translate(55px,20px) scale(.96); } to { opacity: 1; transform: translate(0,0) scale(1); } }
@keyframes rent-poster-image-drift { from { background-position: 64% 51%; } to { background-position: 68% 48%; } }
@keyframes rent-poster-stamp-in { from { opacity: 0; transform: translate(30px,30px) rotate(1deg) scale(.5); } to { opacity: 1; transform: translate(0,0) rotate(-9deg) scale(1); } }
@keyframes rent-poster-stamp-float { 0%,100% { transform: rotate(-9deg) translateY(0); } 50% { transform: rotate(-7deg) translateY(-10px); } }
@keyframes rent-poster-ticker { to { transform: translateX(-50%); } }
@keyframes rent-poster-sheen { 0%,20% { left: -75%; } 42%,100% { left: 140%; } }
@keyframes rent-orbit-drift { to { transform: translate(45px,30px) rotate(6deg); } }

@media (max-width: 1170px) {
  .rent-poster-hero__grid.wrap { width: min(100% - 58px, 1240px); gap: 25px; min-height: 615px; }
  .rent-poster-hero h1 { font-size: clamp(63px, 6.9vw, 88px); }
  .rent-poster-hero__copy { padding-top: 74px; }
  .rent-poster-hero__visual { min-height: 530px; }
  .rent-poster-hero__stamp { right: -10px; }
}
@media (max-width: 800px) {
  .rent-poster-hero__grid.wrap { display: flex; flex-direction: column; width: min(100% - 42px, 650px); min-height: 0; gap: 0; }
  .rent-poster-hero__copy { padding: 59px 0 30px; }
  .rent-poster-hero h1 { font-size: clamp(70px, 11.5vw, 105px); margin: 34px 0 26px; }
  .rent-poster-hero__intro { max-width: 550px; }
  .rent-poster-hero__facts { margin-top: 10px; padding-top: 20px; }
  .rent-poster-hero__visual { align-self: stretch; height: 450px; min-height: 450px; margin: 12px 15px 0 0; }
  .rent-poster-hero__photo { background-size: auto 158%; background-position: 65% 52%; }
  .rent-poster-hero__stamp { right: -17px; top: 55%; }
}
@media (max-width: 520px) {
  .rent-poster-hero__grid.wrap { width: calc(100% - 30px); }
  .rent-poster-hero__copy { padding-top: 44px; }
  .rent-poster-hero__kicker { font-size: 9px; gap: 9px; letter-spacing: .10em; }
  .rent-poster-hero__kicker-line { width: 22px; }
  .rent-poster-hero h1 { font-size: clamp(55px, 13.3vw, 75px); margin: 31px 0 24px; }
  .rent-poster-hero__intro { font-size: 14px; line-height: 1.55; }
  .rent-poster-hero__actions { width: 100%; display: grid; grid-template-columns: 1fr; margin: 25px 0; }
  .rent-poster-hero__button { justify-content: space-between; width: 100%; min-height: 50px; }
  .rent-poster-hero__facts { gap: 8px 13px; font-size: 9px; letter-spacing: .06em; }
  .rent-poster-hero__facts span + span::before { margin-right: 13px; }
  .rent-poster-hero__visual { height: 345px; min-height: 345px; margin-top: 14px; }
  .rent-poster-hero__photo { background-size: auto 172%; background-position: 64% 50%; border-width: 5px; }
  .rent-poster-hero__label { left: 17px; bottom: 22px; }
  .rent-poster-hero__label strong { font-size: 29px; }
  .rent-poster-hero__stamp { padding: 10px 15px; border-width: 4px; top: 56%; right: -15px; border-radius: 10px; }
  .rent-poster-hero__stamp span { font-size: 8px; }
  .rent-poster-hero__stamp strong { font-size: 23px; }
  .rent-poster-hero__ticker-track > span { font-size: 18px; padding-top: 14px; padding-bottom: 13px; }
  .rent-poster-hero__ticker b { margin: 0 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .rent-poster-hero *, .rent-poster-hero::before, .rent-poster-hero::after { animation: none !important; transition: none !important; }
  .rent-poster-hero__headline-line, .rent-poster-hero__visual, .rent-poster-hero__stamp { opacity: 1; }
  .rent-poster-hero__stamp { transform: rotate(-9deg); }
}
