/* DESIGN ROLL
   Composition: horizontal scroll-snap showcase
   Image: arch window frames
   Background: pale field-green wash
   Type: mixed Fraunces serif + italic accent word (Glass Sash family)
   Motion: seeds gently floating + headline word reveal
   CTA: dual (shop + catalogue)
   Signature: hand-drawn underline grows under “right”
   Family with Glass Sash: charcoal #1C211E · sprout #1F7A4A · cream #F7F1E6 · putty #C9B89A · Fraunces + Figtree
   Differs from A108 layered-blob/soil-sky/condensed/fade/pill+link/dial,
   A110 overlay-card/cutouts/botanical/editorial/parallax/packet-CTA/cursor-seed,
   A111 magazine polaroid / sunrise, prior A112 full-bleed plot scrim.
*/

body.a112-body.page-a112-seedbed {
  padding-top: 0;
  background: var(--a112-shell-cream);
  color: var(--a112-shell-ink);
}

.hz-hero {
  --hz-charcoal: var(--a112-shell-charcoal);
  --hz-sprout: var(--a112-shell-sprout);
  --hz-sprout-deep: var(--a112-shell-sprout-deep);
  --hz-cream: var(--a112-shell-cream);
  --hz-field: var(--a112-shell-field);
  --hz-putty: var(--a112-shell-putty);
  --hz-ink: var(--a112-shell-ink);
  --hz-mute: #3E4A42;
  --hz-ease: var(--a112-shell-ease);
  position: relative;
  isolation: isolate;
  max-width: 100%;
  overflow-x: clip;
  padding: clamp(1.25rem, 3vw, 2.25rem) 0 clamp(1.5rem, 4vw, 2.5rem);
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(31, 122, 74, 0.12), transparent 60%),
    linear-gradient(180deg, var(--hz-field) 0%, var(--hz-cream) 100%);
  color: var(--hz-ink);
}

.hz-seeds {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hz-seeds span {
  position: absolute;
  width: 0.55rem;
  height: 0.7rem;
  border-radius: 50% 50% 50% 0;
  background: var(--hz-sprout);
  opacity: 0.18;
  transform: rotate(-30deg);
  animation: hz-float 11s ease-in-out infinite;
}

/* Keep floating seeds in the rail band — never over headline/lede */
.hz-seeds span:nth-child(1) { left: 6%; top: 78%; animation-duration: 10s; }
.hz-seeds span:nth-child(2) { left: 28%; top: 88%; width: 0.4rem; height: 0.5rem; animation-duration: 13s; }
.hz-seeds span:nth-child(3) { right: 10%; top: 74%; animation-duration: 12s; animation-delay: -3s; }
.hz-seeds span:nth-child(4) { right: 32%; top: 92%; width: 0.45rem; animation-duration: 14s; animation-delay: -5s; }

.hz-copy {
  position: relative;
  z-index: 1;
  max-width: min(40rem, 100%);
  margin-bottom: clamp(1.1rem, 3vw, 1.75rem);
}

.hz-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hz-sprout-deep);
}

.hz-h1 {
  margin: 0 0 0.75rem;
  font-family: var(--a112-font-serif);
  font-size: clamp(2.05rem, 6vw, 3.35rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--hz-charcoal);
}

.hz-h1 span,
.hz-h1 em {
  display: inline-block;
}

.hz-h1 em {
  position: relative;
  font-style: italic;
  font-weight: 600;
  color: var(--hz-sprout-deep);
}

.hz-h1 em::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -4%;
  bottom: 0.08em;
  height: 0.28em;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' fill='none'><path d='M2 8 C 28 2, 52 11, 78 6 S 112 4, 118 7' stroke='%231F7A4A' stroke-width='3' stroke-linecap='round'/></svg>") no-repeat center / 100% 100%;
  transform-origin: left center;
}

@media (prefers-reduced-motion: no-preference) {
  .hz-h1 span,
  .hz-h1 em {
    animation: hz-word 520ms var(--hz-ease) both;
  }
  .hz-h1 span:nth-of-type(1) { animation-delay: 40ms; }
  .hz-h1 span:nth-of-type(2) { animation-delay: 120ms; }
  .hz-h1 em { animation-delay: 200ms; }
  .hz-h1 span:nth-of-type(3) { animation-delay: 280ms; }
  .hz-h1 em::after {
    transform: scaleX(0);
    animation: hz-rule 700ms var(--hz-ease) 480ms both;
  }
}

.hz-lede {
  margin: 0 0 1.2rem;
  max-width: 100%;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.55;
  color: var(--hz-mute);
  overflow-wrap: anywhere;
}

.hz-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
}

.hz-cta-main,
.hz-cta-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.2rem;
  font-weight: 800;
  text-decoration: none;
}

.hz-cta-main,
body.a112-body main a.hz-cta-main {
  background: var(--hz-sprout);
  color: #F4FFF8;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.hz-cta-main:hover,
body.a112-body main a.hz-cta-main:hover {
  background: var(--hz-sprout-deep);
  color: #F4FFF8;
}

.hz-cta-sub,
body.a112-body main a.hz-cta-sub {
  color: var(--hz-sprout-deep);
  border-bottom: 2px solid var(--hz-putty);
  padding-inline: 0.15rem;
}

.hz-cta-sub:hover,
body.a112-body main a.hz-cta-sub:hover {
  color: var(--hz-sprout-deep);
  border-bottom-color: var(--hz-sprout);
}

.hz-cta-main:focus-visible,
.hz-cta-sub:focus-visible {
  outline: 2px solid var(--hz-charcoal);
  outline-offset: 3px;
}

.hz-rail-wrap {
  position: relative;
  z-index: 1;
  max-width: 100%;
  min-width: 0;
}

.hz-rail {
  display: flex;
  gap: 0.85rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(1rem, calc((100% - var(--a112-wrap)) / 2));
  padding: 0.35rem max(1rem, calc((100% - var(--a112-wrap)) / 2)) 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--hz-putty) transparent;
}

.hz-rail::-webkit-scrollbar {
  height: 6px;
}
.hz-rail::-webkit-scrollbar-track {
  background: transparent;
}
.hz-rail::-webkit-scrollbar-thumb {
  background: var(--hz-putty);
  border-radius: 999px;
}

.hz-arch {
  flex: 0 0 min(68vw, 16.5rem);
  max-width: 16.5rem;
  min-width: 0;
  scroll-snap-align: start;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--hz-putty);
  /* Arch window — rounded crown, flat sill (not a full oval) */
  border-radius: 50% 50% 10px 10px / 42% 42% 10px 10px;
  box-shadow: 0 16px 32px rgba(18, 22, 20, 0.12);
  transition: transform 220ms var(--hz-ease);
}

.hz-arch:hover { transform: translateY(-4px); }
.hz-arch:focus-visible {
  outline: 2px solid var(--hz-sprout);
  outline-offset: 4px;
}

.hz-arch img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

@keyframes hz-float {
  0%, 100% { transform: rotate(-30deg) translateY(0); }
  50% { transform: rotate(-18deg) translateY(-12px); }
}

@keyframes hz-word {
  /* Never fade opacity — words must stay readable during paint / slow devices */
  from { transform: translateY(0.35em); }
  to { transform: none; }
}

@keyframes hz-rule {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hz-seeds span {
    animation: none;
  }
}

/* PAGE DESIGN ROLL — home body (below Arch Snap)
   Layout: sectioned scroll with sticky side plot-notes
   Card style: layered soil-strata
   Dividers: hairline with sprout glyph
   Motion: progress-draw furrow line (none beyond hover if reduced-motion)
   Signature: moon-window sowing furrow — current India sowing window fills and the root-line draws
   Not: A108 seasonal strip + 4-col cards; A109 parade; A110 overlay aisles; prior A112 lane list + twin 4-col grids
*/

.hm-rule {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--a112-shell-putty);
}

.hm-rule::before,
.hm-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--a112-shell-putty);
}

.hm-rule svg {
  flex: 0 0 auto;
  color: var(--a112-shell-sprout);
}

.hm-block {
  display: grid;
  grid-template-columns: 7.25rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.75rem, 4vw, 3rem) 0;
}

.hm-note {
  position: sticky;
  top: 1rem;
  align-self: start;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--a112-shell-sprout-deep);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  height: max-content;
}

.hm-copy h2 {
  margin: 0 0 0.45rem;
  font-family: var(--a112-font-serif);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--a112-shell-charcoal);
  line-height: 1.15;
}

.hm-lede {
  margin: 0 0 1.15rem;
  max-width: 38rem;
  color: var(--a112-shell-mute);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

.hm-strata {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--a112-shell-putty);
  background: var(--a112-shell-paper);
  box-shadow: var(--a112-shell-shadow);
}

.hm-promise {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  padding: 0.65rem 1rem;
  color: var(--a112-shell-cream);
  font-weight: 700;
  font-size: var(--a112-type-sm);
}

.hm-promise:nth-child(1) { background: #2A332E; }
.hm-promise:nth-child(2) { background: #3A4A40; }
.hm-promise:nth-child(3) { background: var(--a112-shell-charcoal); }
.hm-promise:nth-child(4) { background: var(--a112-shell-sprout-deep); }
.hm-promise:nth-child(5) { background: var(--a112-shell-sprout); }
.hm-promise:nth-child(6) { background: #3E6B4A; color: var(--a112-shell-cream); }

.hm-promise-n {
  font-family: var(--a112-font-serif);
  font-size: 0.85rem;
  opacity: 0.7;
}

.hm-beds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.hm-bed {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 11rem;
  text-decoration: none;
  color: var(--a112-shell-ink);
  overflow: hidden;
  background: var(--a112-shell-paper);
  border: 1px solid var(--a112-shell-putty);
}

.hm-bed:first-child {
  grid-column: 1 / -1;
  min-height: 14rem;
  grid-template-columns: minmax(0, 1fr) minmax(7rem, 28%);
  grid-template-rows: 1fr;
}

.hm-bed:hover { color: var(--a112-shell-ink); }
.hm-bed:hover img { transform: scale(1.04); }
.hm-bed:focus-visible {
  outline: 2px solid var(--a112-shell-sprout);
  outline-offset: 3px;
}

.hm-bed-copy {
  position: relative;
  z-index: 1;
  padding: 1rem 1.05rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.2rem;
}

.hm-bed:first-child .hm-bed-copy {
  justify-content: center;
}

.hm-bed-n {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--a112-shell-sprout-deep);
}

.hm-bed h3 {
  margin: 0;
  font-family: var(--a112-font-serif);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hm-bed-count {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--a112-shell-mute);
}

.hm-bed-media {
  min-height: 6.5rem;
  overflow: hidden;
  background: var(--a112-shell-field);
}

.hm-bed:first-child .hm-bed-media { min-height: 100%; }

.hm-bed img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms var(--a112-shell-ease);
}

.hm-soil {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.55rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  pointer-events: none;
}

.hm-soil span:nth-child(1) { background: #5C4A32; }
.hm-soil span:nth-child(2) { background: var(--a112-shell-sprout-deep); }
.hm-soil span:nth-child(3) { background: var(--a112-shell-putty); }

.hm-fresh {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 0.85rem;
}

.hm-fresh-lead,
.hm-fresh-row {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 0.55rem;
  background: var(--a112-shell-paper);
  border: 1px solid var(--a112-shell-putty);
}

.hm-fresh-lead {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  padding: 0;
  min-height: 100%;
}

.hm-fresh-lead img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.hm-fresh-row img {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: cover;
}

.hm-fresh-lead div,
.hm-fresh-row div { padding: 0.15rem 0.85rem 0.85rem; }

.hm-fresh-lead h3,
.hm-fresh-row h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hm-fresh p {
  margin: 0;
  font-weight: 800;
  color: var(--a112-shell-sprout-deep);
}

.hm-fresh-lead:hover,
.hm-fresh-row:hover { color: inherit; }
.hm-fresh-lead:hover img,
.hm-fresh-row:hover img { transform: scale(1.04); }
.hm-fresh-lead img,
.hm-fresh-row img { transition: transform 280ms var(--a112-shell-ease); }

.hm-fresh-lead:focus-visible,
.hm-fresh-row:focus-visible {
  outline: 2px solid var(--a112-shell-sprout);
  outline-offset: 3px;
}

.hm-fresh-stack {
  display: grid;
  gap: 0.55rem;
}

.hm-sold {
  display: flex;
  flex-direction: column;
}

.hm-sold-row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem 0.75rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(201, 184, 154, 0.7);
}

.hm-sold-row:nth-child(odd) { background: #EFE6D4; }
.hm-sold-row:nth-child(even) { background: #E4D7C0; }
.hm-sold-row:last-child { border-bottom: 0; }
.hm-sold-row:hover { color: inherit; filter: brightness(1.03); }

.hm-sold-row img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
}

.hm-sold-row h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
}

.hm-sold-row p {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--a112-shell-mute);
}

.hm-sold-row strong {
  font-family: var(--a112-font-serif);
  color: var(--a112-shell-sprout-deep);
}

.hm-sold-row:focus-visible {
  outline: 2px solid var(--a112-shell-sprout);
  outline-offset: 2px;
}

.hm-furrow {
  display: grid;
  gap: 0.85rem;
}

.hm-window {
  position: relative;
  padding: 1rem 1.05rem 1.15rem;
  background: var(--a112-shell-paper);
  border: 1px solid var(--a112-shell-putty);
}

.hm-window.is-now {
  border-color: var(--a112-shell-sprout);
  background: var(--a112-shell-sprout-mist);
}

.hm-window h3 {
  margin: 0 0 0.25rem;
  font-family: var(--a112-font-serif);
  font-size: 1.15rem;
}

.hm-window p { margin: 0; color: var(--a112-shell-mute); font-size: 0.95rem; }

.hm-window-when {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--a112-shell-sprout-deep);
}

.hm-furrow-svg {
  display: block;
  width: 100%;
  height: 28px;
  overflow: visible;
}

.hm-furrow-svg path {
  fill: none;
  stroke: var(--a112-shell-sprout);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
}

.hm-window.is-now .hm-furrow-svg path {
  animation: hm-draw 900ms var(--a112-shell-ease) 120ms forwards;
}

@keyframes hm-draw {
  to { stroke-dashoffset: 0; }
}

.hm-mail {
  display: grid;
  gap: 0.85rem;
  max-width: 28rem;
}

.hm-mail label {
  font-weight: 700;
  color: var(--a112-shell-charcoal);
}

.hm-mail-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: stretch;
}

.hm-mail input {
  flex: 1 1 12rem;
  min-height: 48px;
  border: 0;
  border-bottom: 2px solid var(--a112-shell-putty);
  background: transparent;
  font: inherit;
  color: var(--a112-shell-ink);
  padding: 0.4rem 0.15rem;
}

.hm-mail input:focus-visible {
  outline: none;
  border-bottom-color: var(--a112-shell-sprout);
}

.hm-mail button {
  min-height: 48px;
  padding: 0.55rem 1.1rem;
  border: 0;
  background: var(--a112-shell-sprout);
  color: var(--a112-shell-on-sprout);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.hm-mail button:hover { background: var(--a112-shell-sprout-deep); }
.hm-mail button:focus-visible {
  outline: 2px solid var(--a112-shell-charcoal);
  outline-offset: 3px;
}

.hm-close {
  padding: clamp(2rem, 5vw, 3.25rem) 0;
  background: var(--a112-shell-charcoal);
  color: var(--a112-shell-cream);
  background-image: var(--a112-shell-grain);
}

.hm-close-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.hm-close h2 {
  margin: 0 0 0.35rem;
  font-family: var(--a112-font-serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.hm-close p { margin: 0; color: var(--a112-shell-putty); }

.hm-close a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.2rem;
  background: var(--a112-shell-sprout);
  color: var(--a112-shell-on-sprout);
  font-weight: 800;
  text-decoration: none;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.hm-close a:hover { background: var(--a112-shell-sprout-deep); color: var(--a112-shell-on-sprout); }
.hm-close a:focus-visible {
  outline: 2px solid var(--a112-shell-putty);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .hm-window.is-now .hm-furrow-svg path {
    animation: none;
    stroke-dashoffset: 0;
  }
  .hm-bed img,
  .hm-fresh-lead img,
  .hm-fresh-row img { transition: none; }
}

@media (max-width: 900px) {
  .hm-block { grid-template-columns: 1fr; }
  .hm-note {
    writing-mode: horizontal-tb;
    transform: none;
    position: static;
  }
  .hm-fresh { grid-template-columns: 1fr; }
  .hz-arch {
    flex-basis: min(72vw, 14.5rem);
  }
}

@media (max-width: 640px) {
  .hm-beds { grid-template-columns: 1fr; }
  .hm-bed:first-child {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .hm-sold-row {
    grid-template-columns: 3.75rem minmax(0, 1fr);
  }
  .hm-sold-row strong { grid-column: 2; }
  .hz-h1 {
    font-size: clamp(1.85rem, 9vw, 2.4rem);
  }
  .hz-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .hz-cta-main {
    width: 100%;
    max-width: 18rem;
  }
}
