/* Editorial homepage hero */
.hero {
  --hero-paper: #f0ebdf;
  --hero-ink: #22231a;
  --hero-rule: #b9b2a1;
  --hero-gutter: clamp(21px, 4.25vw, 65px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--hero-ink);
  border: 1px solid #e1dacc;
  border-radius: 17px 17px 46px 17px;
  background-color: var(--hero-paper);
  background-image:
    radial-gradient(circle, #5f4c331c .45px, transparent .75px),
    radial-gradient(circle, #ffffff58 .5px, transparent .85px);
  background-position: 1px 3px, 2px 1px;
  background-size: 5px 7px, 7px 5px;
}

.hero-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  padding: clamp(24px, 3.5vw, 48px) var(--hero-gutter) clamp(29px, 4vw, 56px);
}

.hero .eyebrow {
  grid-area: 1 / 1 / 2 / -1;
  align-self: start;
  gap: 11px;
  margin: 0 0 clamp(25px, 4.5vw, 64px);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .13em;
}

.hero .eyebrow i {
  width: 12px;
  height: 12px;
  flex: none;
  border: 1px solid #73852b;
  border-radius: 0;
  background: var(--lime);
  transform: rotate(-11deg);
}

.hero .eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  margin-left: 12px;
  background: var(--hero-rule);
}

.hero-copy {
  position: relative;
  z-index: 2;
  grid-area: 2 / 1 / 3 / 10;
  align-self: start;
  pointer-events: none;
}

.hero h1 {
  pointer-events: auto;
  width: fit-content;
  font-family: "Arial Black", "Segoe UI", Arial, sans-serif;
  font-size: clamp(58px, 10.7vw, 158px);
  font-weight: 900;
  line-height: .84;
  letter-spacing: -.078em;
  text-wrap: initial;
}

.hero h1 span,
.hero h1 em {
  display: block;
  width: fit-content;
  padding-right: .07em;
}

.hero h1 span:nth-child(2) {
  margin: .105em 0 0 .38em;
  font-size: .55em;
  letter-spacing: -.07em;
}

.hero h1 em {
  margin: .17em 0 0 .06em;
  font: italic 400 .685em/.95 Georgia, "Times New Roman", serif;
  letter-spacing: -.088em;
}

.hero-details {
  position: relative;
  z-index: 2;
  grid-area: 3 / 1 / 4 / 8;
  align-self: end;
  padding-block-start: clamp(28px, 4vw, 57px);
}

.hero-details p {
  max-width: 38ch;
  padding-left: 15px;
  border-left: 3px solid #88a432;
  color: #45463b;
  font-size: clamp(15px, 1.35vw, 20px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 23px;
  margin-top: 23px;
}

.hero-actions .button {
  border: 1px solid var(--hero-ink);
  padding: 7px 8px 7px 18px;
  min-height: 50px;
  color: var(--hero-ink);
}

.hero-actions .button-icon { width: 32px; height: 32px; background: var(--hero-ink); }
.hero-actions .text-link { border-color: #776f5a; }
.hero-actions .text-link:hover { border-color: var(--hero-ink); }
.hero :is(.button,.text-link,.hero-footer a):focus-visible { outline-color: #546814; }

.hero-art {
  --stage-x: 0px;
  --stage-y: 0px;
  display: grid;
  place-items: center;
  position: relative;
  grid-area: 2 / 7 / 4 / -1;
  isolation: isolate;
  min-width: 0;
  align-self: center;
  aspect-ratio: 1;
  width: min(100%, 660px);
  justify-self: end;
  margin: -4% -1.5% -2% 0;
}

.hero-geometry {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 8% 3% 7% 12%;
  border: 1px solid #b8af9a;
  background-color: #e5dfd0;
  background-image:
    linear-gradient(90deg, #837b641c 1px, transparent 1px),
    linear-gradient(#837b641c 1px, transparent 1px);
  background-size: 25px 25px;
  transform: translate(var(--stage-x), var(--stage-y)) rotate(-8deg);
  transition: transform 560ms var(--ease);
}

.hero-geometry::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 10% 12%;
  border: 1px solid #8d84716e;
  border-radius: 50%;
  transform: rotate(31deg) scale(.78, 1.17);
}

.hero-geometry::after {
  content: "";
  position: absolute;
  right: -4%;
  bottom: -4%;
  width: 47%;
  height: 48%;
  background: var(--lime);
  clip-path: polygon(32% 0,100% 0,100% 69%,72% 100%,0 100%,0 31%);
}

.hero-art-rule {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  top: 13%;
  right: 5%;
  width: 7%;
  aspect-ratio: 1;
  color: #686651;
  background:
    linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat,
    linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat;
}

.hero-sculpture-still,
.hero-sculpture-live {
  position: relative;
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  pointer-events: none;
  filter: drop-shadow(15px 23px 15px #332a2250);
}

.hero-sculpture-live { visibility: hidden; }
.hero-art.has-live-sculpture .hero-sculpture-live { visibility: visible; }
.hero-art.has-live-sculpture .hero-sculpture-still { opacity: 0; }

.hero-footer {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 13px;
  margin-inline: var(--hero-gutter);
  padding: 12px 0 17px;
  border-top: 1px solid var(--hero-rule);
  color: #4a493d;
  font-size: 12px;
}

.hero-footer a { display: inline-flex; gap: 7px; align-items: center; font-weight: 700; }
.hero-footer a span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid #b1a895;
  border-radius: 50%;
  transition: background 180ms ease, transform 180ms var(--ease);
}
.hero-footer a:hover span { background: var(--lime); transform: translateY(2px); }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: editorial-arrive 620ms var(--ease) both; }
  .hero-details { animation: editorial-arrive 580ms 90ms var(--ease) both; }
  @keyframes editorial-arrive { from { opacity: .52; transform: translateY(10px); } }
}

@media (max-width: 1050px) {
  .hero-details p { max-width: 35ch; }
  .hero h1 { font-size: clamp(57px, 11vw, 111px); }
  .hero-geometry { inset: 6% 2% 6% 10%; }
}

@media (max-width: 680px) {
  .hero { border-radius: 13px 13px 30px 13px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr); padding-bottom: 20px; }
  .hero .eyebrow { grid-row: 1; font-size: 9px; gap: 8px; letter-spacing: .09em; margin-bottom: 24px; }
  .hero .eyebrow i { width: 9px; height: 9px; }
  .hero .eyebrow::after { margin-left: 2px; }
  .hero-copy { grid-area: 2 / 1; }
  .hero h1 { font-size: clamp(43px, 13.2vw, 86px); }
  .hero h1 span:nth-child(2) { margin-left: .16em; font-size: .68em; }
  .hero h1 em { font-size: .75em; }
  .hero-art { grid-area: 3 / 1; width: min(100%, 390px); justify-self: end; margin: 5px 0 0; }
  .hero-geometry { inset: 8% 6% 5% 11%; background-size: 20px 20px; }
  .hero-details { grid-area: 4 / 1; padding-block-start: 17px; }
  .hero-actions { margin-top: 15px; gap: 9px 14px; }
  .hero-actions .button { min-height: 44px; font-size: 12px; gap: 6px; padding-left: 11px; }
  .hero-actions .button-icon { width: 27px; height: 27px; }
  .hero-actions .text-link { font-size: 12px; }
  .hero-footer { font-size: 10px; padding-bottom: 12px; }
  .hero-footer a span { width: 23px; height: 23px; }
}

@media (max-width: 360px) {
  .hero h1 span:nth-child(2) { font-size: .63em; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-sculpture-live { visibility: hidden !important; }
  .hero-sculpture-still { opacity: 1 !important; }
}
