/* DESIGN ROLL — Sunrise Row Hero (Appily-onehundredfourteen)
   Composition: horizontal scroll-snap showcase
   Image treatment: polaroid stack tiles with subtle tilt
   Background: warm sunrise tones + botanical line-art SVG
   Typography: bold condensed sans (Public Sans 800) + italic accent on “open”
   Motion: headline word-by-word reveal on load
   CTA: seed-packet label button + catalog text link + store-backed trust line
   Signature: greenhouse vent tag unlatches to show current month + season bench label
   Shares Trellis Span tokens: forest #184A32 · wheat #C99212 · pith #FFF3C2 · Comfortaa
   Differs from Trayhouse Collage · A113 magazine+arch · A112 arch snap · A110 furrow folio · A108 layered blob
*/

.page-a114-sunrise .sr-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(0.85rem, 2vw, 1.35rem) 0 clamp(1rem, 2.2vw, 1.5rem);
  background:
    radial-gradient(ellipse at 12% 88%, rgba(24, 74, 50, 0.35), transparent 48%),
    radial-gradient(ellipse at 88% 12%, rgba(255, 180, 80, 0.45), transparent 42%),
    linear-gradient(168deg, #FFE8B8 0%, #F5C96A 28%, #E8A84A 52%, var(--bf-forest) 100%);
  color: var(--bf-ink);
}

.sr-botanical {
  position: absolute;
  right: -4%;
  top: 6%;
  width: min(48vw, 22rem);
  height: auto;
  color: rgba(24, 74, 50, 0.14);
  pointer-events: none;
}

.sr-stage {
  position: relative;
  display: grid;
  gap: clamp(0.85rem, 2vw, 1.25rem);
  align-items: start;
}

.sr-copy {
  min-width: 0;
  padding: clamp(0.65rem, 1.5vw, 0.85rem);
  border-radius: var(--bf-radius);
  background: rgba(255, 251, 240, 0.82);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 32px rgba(14, 44, 30, 0.12);
  border: 1px solid rgba(255, 251, 240, 0.65);
}

.sr-vent {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
  padding: 0.35rem 0.65rem 0.35rem 0.45rem;
  background: var(--bf-forest);
  color: var(--bf-pith);
  border-radius: 0.35rem 0.65rem 0.65rem 0.35rem;
  font-family: var(--bf-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform-origin: left center;
  clip-path: inset(0 100% 0 0);
  animation: sr-vent-open 520ms var(--bf-ease) 200ms forwards;
}
.sr-vent-latch {
  width: 0.55rem;
  height: 0.75rem;
  border-radius: 2px;
  background: var(--bf-wheat);
  transform: rotate(-12deg);
  animation: sr-latch-flip 420ms var(--bf-ease) 180ms forwards;
}
.sr-vent-month {
  padding-right: 0.45rem;
  border-right: 1px solid rgba(255, 251, 240, 0.28);
  color: var(--bf-wheat);
}
.sr-vent strong { font-weight: 800; }

.sr-kicker {
  margin: 0 0 0.45rem;
  font-family: var(--bf-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bf-forest);
}

.sr-title {
  margin: 0 0 0.65rem;
  font-family: var(--bf-body);
  font-weight: 800;
  font-size: clamp(1.85rem, 5.8vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--bf-forest-deep);
}

.sr-word {
  display: inline-block;
  margin-right: 0.22em;
  opacity: 0;
  transform: translateY(0.65rem);
  animation: sr-word-in 380ms var(--bf-ease) forwards;
  animation-delay: calc(80ms + var(--sr-i, 0) * 70ms);
}
.sr-word--accent em {
  font-style: italic;
  font-weight: 800;
  color: var(--bf-wheat);
  text-shadow: 0 1px 0 rgba(14, 44, 30, 0.15);
}

.sr-lede {
  margin: 0 0 0.85rem;
  max-width: 36rem;
  font-family: var(--bf-body);
  font-size: clamp(0.92rem, 1.5vw, 1.05rem);
  line-height: 1.5;
  color: var(--bf-mute);
}

.sr-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-bottom: 0.75rem;
}

.sr-packet {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1.15rem 0 1.35rem;
  background: var(--bf-pith);
  color: var(--bf-ink);
  font-family: var(--bf-display);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: 2px dashed var(--bf-wheat);
  border-radius: 0.35rem 0.85rem 0.35rem 0.85rem;
  box-shadow: 0 6px 0 rgba(14, 44, 30, 0.22);
  transition: transform 200ms var(--bf-ease), box-shadow 200ms var(--bf-ease);
}
.sr-packet-notch {
  position: absolute;
  top: -0.35rem;
  left: 0.65rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--bf-forest-deep);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}
.sr-packet:hover,
.sr-packet:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 rgba(14, 44, 30, 0.18);
  background: var(--bf-wheat);
}

.sr-guide {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--bf-forest);
  font-family: var(--bf-body);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}
.sr-guide:hover,
.sr-guide:focus-visible { color: var(--bf-forest-deep); }

.sr-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
  font-family: var(--bf-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bf-forest);
}
.sr-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.sr-trust li::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--bf-sap);
}

.sr-search {
  display: flex;
  gap: 0.45rem;
  max-width: 28rem;
  padding: 0.25rem;
  border-radius: var(--bf-pill);
  background: var(--bf-pith);
  border: 1px solid rgba(24, 74, 50, 0.18);
}
.sr-search input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--bf-ink);
  font: 600 0.95rem var(--bf-body);
  padding: 0 0.75rem;
}
.sr-search input::placeholder { color: rgba(20, 32, 24, 0.5); opacity: 1; }
.sr-search input:focus { outline: none; }
.sr-search:focus-within {
  outline: 2px solid var(--bf-wheat);
  outline-offset: 2px;
}
.sr-search button {
  min-height: 44px;
  padding: 0 1rem;
  border: 0;
  border-radius: var(--bf-pill);
  background: var(--bf-forest);
  color: var(--bf-pith);
  font: 700 0.85rem var(--bf-display);
  cursor: pointer;
}
.sr-search button:hover,
.sr-search button:focus-visible { background: var(--bf-wheat); color: var(--bf-ink); }

.sr-showcase {
  min-width: 0;
  padding: 0.35rem 0;
}
.sr-showcase-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
  padding: 0 0.15rem;
}
.sr-strip-kicker {
  margin: 0;
  font-family: var(--bf-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bf-forest-deep);
}
.sr-strip-all {
  font-family: var(--bf-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bf-forest);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.sr-rail {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.5rem;
  padding: 0.35rem 0.5rem 0.65rem;
  -webkit-overflow-scrolling: touch;
}

body.a114-body a.sr-polaroid {
  flex: 0 0 min(62vw, 11.5rem);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  color: var(--bf-ink);
  text-decoration: none;
  transform: rotate(var(--sr-tilt, 0deg));
  transition: transform 200ms var(--bf-ease);
}
.sr-polaroid--lead {
  flex-basis: min(72vw, 14rem);
}
.sr-polaroid:hover,
.sr-polaroid:focus-visible {
  transform: rotate(0deg) translateY(-3px);
  z-index: 1;
}
.sr-polaroid-frame {
  display: block;
  padding: 0.45rem 0.45rem 1.1rem;
  background: var(--bf-pith);
  box-shadow: 0 8px 20px rgba(14, 44, 30, 0.18);
  border: 1px solid rgba(255, 251, 240, 0.9);
}
.sr-polaroid-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #0a1a12;
}
.sr-polaroid-cap {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  padding: 0 0.15rem;
  font-family: var(--bf-body);
}
.sr-polaroid-badge {
  align-self: flex-start;
  padding: 0.1rem 0.4rem;
  border-radius: var(--bf-pill);
  background: var(--bf-wheat);
  color: var(--bf-ink);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sr-polaroid-cap strong {
  font-size: 0.78rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sr-polaroid-cap em {
  font-style: normal;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--bf-forest);
}

.sr-chips-wrap {
  margin-top: 0.35rem;
  padding-bottom: 0.25rem;
}
.sr-chips {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
}
.sr-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-height: 44px;
  padding: 0.5rem 0.95rem;
  border-radius: var(--bf-pill);
  border: 1px solid rgba(24, 74, 50, 0.22);
  background: rgba(255, 251, 240, 0.75);
  color: var(--bf-forest);
  font: 700 0.82rem var(--bf-display);
  text-decoration: none;
  white-space: nowrap;
}
.sr-chip:hover,
.sr-chip:focus-visible {
  background: var(--bf-forest);
  color: var(--bf-pith);
  border-color: var(--bf-forest);
}

.sr-packet:focus-visible,
.sr-guide:focus-visible,
.sr-search button:focus-visible,
.sr-polaroid:focus-visible,
.sr-chip:focus-visible,
.sr-strip-all:focus-visible {
  outline: 2px solid var(--bf-wheat);
  outline-offset: 3px;
}

@keyframes sr-word-in {
  to { opacity: 1; transform: none; }
}
@keyframes sr-vent-open {
  to { clip-path: inset(0 0 0 0); }
}
@keyframes sr-latch-flip {
  60% { transform: rotate(18deg); }
  100% { transform: rotate(8deg); }
}

@media (min-width: 880px) {
  .sr-stage {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    align-items: center;
    gap: clamp(1rem, 2.5vw, 1.75rem);
  }
  .sr-rail {
    padding-left: 0;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }
}

@media (max-width: 879px) {
  .sr-showcase {
    margin-inline: calc(-1 * clamp(0.75rem, 3vw, 1.25rem));
    padding-inline: clamp(0.75rem, 3vw, 1.25rem);
  }
}

/* PAGE DESIGN ROLL — Home meadow (index below-fold)
   Layout: sectioned scroll with sticky side label
   Cards: kraft tag aisle cards
   Dividers: wavy field line
   Motion: staggered fade-up
   Signature: 12-month calendar trough fill highlights current month
   Family: Trellis Span tokens · not Trayhouse collage body · A113 calendar strip · A108 sow dial
*/

.hm-body {
  display: grid;
  gap: 1.2rem;
  padding: clamp(1.4rem, 3vw, 2.4rem) 0 0;
}
.hm-rail { display: none; }
.hm-main { min-width: 0; }

.hm-calendar {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2px;
  margin-bottom: clamp(1.2rem, 2.5vw, 1.8rem);
  padding: 0.5rem 0.35rem;
  background: var(--bf-paper);
  border: 1px solid var(--bf-line);
  border-radius: 0.5rem 0.5rem 1.1rem 1.1rem;
  box-shadow: inset 0 3px 8px rgba(14, 44, 30, 0.06);
  overflow: hidden;
}
.hm-cal-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: calc(var(--hm-month, 1) / 12 * 100%);
  background: linear-gradient(90deg, rgba(47, 163, 107, 0.12), rgba(201, 146, 18, 0.18));
  pointer-events: none;
  transition: width 400ms var(--bf-ease);
}
.hm-cal-month {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 2.25rem;
  font-family: var(--bf-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bf-mute);
  border-right: 1px dashed var(--bf-line);
}
.hm-cal-month:last-child { border-right: 0; }
.hm-cal-month.is-now {
  color: var(--bf-forest);
  box-shadow: inset 0 -3px 0 var(--bf-wheat);
}

.hm-sec { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.hm-sec h2 { margin: 0 0 0.8rem; font-size: clamp(1.35rem, 3vw, 1.95rem); }
.hm-wave {
  height: 0.45rem;
  margin: 0 0 0.85rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 8'%3E%3Cpath d='M0 4 Q15 0 30 4 T60 4 T90 4 T120 4' fill='none' stroke='%23184A32' stroke-width='1.2' opacity='0.35'/%3E%3C/svg%3E") repeat-x;
  background-size: 120px 8px;
}

.hm-aisles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.7rem;
}
body.a114-body a.hm-aisle {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 5.5rem;
  padding: 0.85rem 0.9rem 0.9rem;
  background: linear-gradient(175deg, var(--bf-kraft) 0%, var(--bf-kraft-deep) 100%);
  color: var(--bf-ink);
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 50% 100%, 0 82%);
  box-shadow: var(--bf-shadow);
  opacity: 0;
  transform: translateY(10px);
  animation: hm-up 280ms var(--bf-ease) forwards;
  animation-delay: calc(var(--hm-i, 0) * 60ms);
}
.hm-aisle-tag {
  position: absolute;
  top: 0.35rem;
  left: 50%;
  width: 0.45rem;
  height: 0.45rem;
  margin-left: -0.225rem;
  border-radius: 50%;
  background: var(--bf-forest-deep);
}
.hm-aisle span:last-child { color: rgba(20, 32, 24, 0.72); font-size: 0.85rem; }
.hm-aisle:hover,
.hm-aisle:focus-visible { filter: brightness(1.03); transform: translateY(-2px); }

.hm-benches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.7rem;
}
.hm-bench {
  padding: 1rem;
  border-radius: 0.65rem 0.65rem 1rem 0.85rem;
  background: var(--bf-paper);
  box-shadow: var(--bf-shadow);
  border: 1px solid var(--bf-line);
  opacity: 0.78;
}
.hm-bench h3 { margin: 0 0 0.4rem; font-size: 1rem; color: var(--bf-forest); }
.hm-bench p { margin: 0; color: var(--bf-mute); font-size: 0.92rem; }
.hm-bench.is-open {
  opacity: 1;
  background: var(--bf-forest);
  color: var(--bf-pith);
  border-color: var(--bf-wheat);
  box-shadow: 0 0 0 2px rgba(201, 146, 18, 0.35);
}
.hm-bench.is-open h3 { color: var(--bf-wheat); }
.hm-bench.is-open p { color: rgba(255, 243, 194, 0.88); }

.hm-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
}
.hm-proof li {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: var(--bf-pill);
  background: var(--bf-pith);
  color: var(--bf-ink);
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px dashed var(--bf-wheat);
}

.hm-more {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.7rem;
}
body.a114-body a.hm-pack {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.45rem;
  background: var(--bf-paper);
  border-radius: 0.65rem;
  box-shadow: var(--bf-shadow);
  color: var(--bf-ink);
  text-decoration: none;
  border: 1px solid var(--bf-line);
  transition: transform 200ms var(--bf-ease);
}
.hm-pack img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.5rem;
  background: #0a1a12;
}
.hm-pack strong {
  font-size: 0.78rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hm-pack em { font-style: normal; font-weight: 700; color: var(--bf-forest); }
.hm-pack:hover,
.hm-pack:focus-visible { transform: translateY(-2px); }

.hm-mail {
  padding: 1.2rem 1.1rem;
  border-radius: var(--bf-radius);
  background: var(--bf-paper);
  box-shadow: var(--bf-shadow);
  border: 1px solid var(--bf-line);
}
.hm-mail-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}
.hm-mail-form input { flex: 1 1 14rem; }

@keyframes hm-up {
  to { opacity: 1; transform: none; }
}

@media (min-width: 880px) {
  .hm-body {
    grid-template-columns: 7rem minmax(0, 1fr);
  }
  .hm-rail {
    display: block;
    position: relative;
    top: auto;
    align-self: start;
    font-family: var(--bf-display);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bf-forest);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sr-word,
  .sr-vent,
  .sr-vent-latch {
    animation: none;
    opacity: 1;
    transform: none;
    clip-path: none;
  }
  .sr-polaroid:hover,
  .sr-polaroid:focus-visible {
    transform: rotate(var(--sr-tilt, 0deg));
  }
  .sr-packet:hover,
  .sr-packet:focus-visible {
    transform: none;
  }
  .hm-aisle,
  .hm-cal-fill {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}
