/* AA Flowers — home page 2026 (owner reference mockup, 'Soft Mauve' palette from styles.css variables).
   Only index.html links this file. Photos live in images/home/ so they can be swapped without touching HTML. */
.home-2026 { --h26-max: 1180px; --h26-radius: 14px; overflow-x: clip; }

/* Announcement bar: moved to styles.css (all pages) */

/* Hero slideshow: stacked slides, cross-fade */
.h26-hero { position: relative; width: 100%; background: var(--mist); }
.h26-slides { display: grid; }
.h26-slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 0s linear 1.2s; }
.h26-slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1.2s ease, visibility 0s; }
.h26-slide-media { display: block; }
.h26-slide-media img { width: 100%; height: 100%; object-fit: cover; }
.h26-eyebrow { margin: 0 0 0.6rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--purple); }
.h26-title { margin: 0 0 0.75rem; font-family: var(--font-serif); font-style: italic; font-weight: 500; line-height: 1.08; color: var(--purple-deep);
  font-size: clamp(2rem, 7.4vw, 2.6rem); letter-spacing: -0.005em; text-wrap: balance; }
.h26-sub { margin: 0 0 1.4rem; color: var(--ink-muted); font-size: 1rem; line-height: 1.55; max-width: 40ch; }
.h26-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.h26-actions .btn { min-height: 48px; padding-left: 1.6rem; padding-right: 1.6rem; }
.h26-dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0.6rem; display: flex; justify-content: center; gap: 0.2rem; }
.h26-dot { appearance: none; border: 0; background: none; width: 28px; height: 28px; padding: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.h26-dot::before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: var(--line); box-shadow: 0 0 0 1px rgba(75, 26, 99, 0.35); transition: width 0.3s, background 0.3s; }
.h26-dot.is-active::before { width: 24px; background: var(--purple); box-shadow: none; }
.h26-dot:focus-visible { outline: 2px solid var(--purple-light); outline-offset: 2px; border-radius: 999px; }

@media (max-width: 699px) {
  .h26-slide-media { aspect-ratio: 900 / 760; }
  .h26-slide-copy { padding: 1.5rem var(--gutter) 3rem; background: linear-gradient(180deg, var(--mist) 0%, var(--lav) 100%); }
  .h26-actions .btn { flex: 1 1 100%; }
}
@media (min-width: 700px) {
  .h26-slide { height: clamp(440px, 46vw, 580px); }
  .h26-slide-media { position: absolute; inset: 0; }
  .h26-slide-media img { object-position: right center; }
  .h26-slide::before { content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(251, 248, 242, 0.96) 0%, rgba(251, 248, 242, 0.9) 38%, rgba(251, 248, 242, 0.45) 58%, rgba(251, 248, 242, 0) 72%); }
  .h26-slide-copy { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center;
    width: min(100%, 640px); box-sizing: border-box; padding: 2rem 2rem 3rem max(var(--gutter), calc((100vw - var(--h26-max)) / 2 + var(--gutter))); }
  .h26-title { font-size: clamp(2.5rem, 4.4vw, 3.6rem); }
  .h26-sub { font-size: 1.06rem; }
  .h26-dots { bottom: 1rem; }
}
@media (min-width: 700px) and (max-width: 899px) { .h26-slide-copy { width: 62%; } }

/* Trust strip */
.h26-trust { list-style: none; margin: 0 auto; padding: 1.6rem var(--gutter); max-width: var(--h26-max); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; border-bottom: 1px solid var(--line); }
.h26-trust li { display: flex; align-items: center; justify-content: center; gap: 0.75rem; color: var(--ink); font-weight: 700; font-size: 0.9rem; line-height: 1.3; text-align: left; }
.h26-trust svg { flex: 0 0 auto; color: var(--purple); }
@media (max-width: 767px) {
  .h26-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 0.75rem; padding: 1.4rem var(--gutter); }
  .h26-trust li { flex-direction: column; text-align: center; gap: 0.45rem; font-size: 0.82rem; }
}

/* Section headings */
.h26-section { max-width: var(--h26-max); margin: 0 auto; padding: 3.25rem var(--gutter) 0; text-align: center; }
.h26-h { margin: 0; font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.7rem, 5.6vw, 2.25rem); line-height: 1.15; color: var(--purple-deep); }
.h26-divider { display: flex; align-items: center; justify-content: center; gap: 0.6rem; margin: 0.6rem 0 1.75rem; color: var(--purple-light); }
.h26-divider::before, .h26-divider::after { content: ""; width: 56px; height: 1px; background: var(--purple-light); opacity: 0.6; }

/* Photo tiles */
.h26-tiles { display: grid; gap: 1.5rem 1.1rem; }
.h26-tiles--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.h26-tiles--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.h26-tile { display: flex; flex-direction: column; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.h26-tile-media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--h26-radius); overflow: hidden; background: var(--mist); box-shadow: 0 2px 10px rgba(75, 26, 99, 0.08); }
.h26-tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.2, .7, .2, 1); }
.h26-tile-label { font-family: var(--font-serif); font-weight: 500; font-size: 1.06rem; line-height: 1.25; color: var(--ink); }
.h26-tile:hover .h26-tile-label, .h26-tile:focus-visible .h26-tile-label { color: var(--purple); }
.h26-tile:focus-visible { outline: none; }
.h26-tile:focus-visible .h26-tile-media { outline: 2px solid var(--purple-light); outline-offset: 3px; }
@media (hover: hover) { .h26-tile:hover .h26-tile-media img { transform: scale(1.05); } }
.h26-tile-over { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 0.75rem 0.9rem; color: #fff; text-align: center;
  font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 1.35rem; line-height: 1.1;
  background: linear-gradient(180deg, rgba(46, 36, 48, 0) 0%, rgba(46, 36, 48, 0.62) 100%); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25); }
@media (max-width: 1023px) {
  .h26-tiles--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .h26-tiles--5 { display: flex; flex-wrap: wrap; justify-content: center; }
  .h26-tiles--5 .h26-tile { flex: 0 0 calc((100% - 2 * 1.1rem) / 3); }
}
@media (max-width: 599px) {
  .h26-tiles { gap: 1.1rem 0.8rem; }
  .h26-tiles--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h26-tiles--5 .h26-tile { flex: 0 0 calc((100% - 0.8rem) / 2); }
  .h26-tile-label { font-size: 0.98rem; }
  .h26-tile-over { font-size: 1.2rem; }
}

/* Wedding collection banner */
.h26-banner { max-width: var(--h26-max); margin: 3.5rem auto 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); background: var(--lav); border-radius: 18px; overflow: hidden; }
.home-2026 > .h26-banner { width: calc(100% - 2 * var(--gutter)); }
.h26-banner-media img { width: 100%; height: 100%; min-height: 300px; max-height: 420px; object-fit: cover; }
.h26-banner-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 0.9rem; padding: 2.5rem clamp(1.5rem, 5vw, 4rem); }
.h26-banner-copy .h26-h { font-style: italic; text-align: left; }
.h26-banner-copy p { margin: 0 0 0.4rem; color: var(--ink-muted); font-size: 1.05rem; max-width: 36ch; }
.h26-banner-copy .btn { min-height: 48px; padding-left: 1.8rem; padding-right: 1.8rem; }
@media (max-width: 767px) {
  .h26-banner { grid-template-columns: 1fr; }
  .h26-banner-media img { min-height: 0; max-height: none; aspect-ratio: 16 / 10; }
  .h26-banner-copy { align-items: center; text-align: center; padding: 1.75rem var(--gutter) 2rem; }
  .h26-banner-copy .h26-h { text-align: center; }
  .h26-banner-copy .btn { width: 100%; }
}

/* How it works */
.h26-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; counter-reset: none; }
.h26-steps li { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 0 0.5rem; }
.h26-step-num { width: 58px; height: 58px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--purple-light); background: var(--mist); color: var(--purple-deep); font-family: var(--font-serif); font-style: italic; font-size: 1.6rem; margin-bottom: 0.35rem; }
.h26-steps h3 { margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.h26-steps p { margin: 0; color: var(--ink-muted); max-width: 30ch; }
@media (max-width: 767px) { .h26-steps { grid-template-columns: 1fr; gap: 1.6rem; } }

/* Featured designs grid (filled by build.py) */
.home-2026 .h26-featured { max-width: var(--h26-max); padding-top: 3.5rem; }
.home-2026 .h26-featured .section-head h2 { font-weight: 500; color: var(--purple-deep); font-size: clamp(1.5rem, 5vw, 1.9rem); }
.home-2026 > section:last-child { margin-bottom: 3.5rem; }

@media (prefers-reduced-motion: reduce) {
  .h26-slide, .h26-slide.is-active { transition: none; }
  .h26-tile-media img { transition: none; }
}

/* Shop by Collection: round photos (owner's choice), like the previous staging home's circles.
   Crop centre per photo = inline object-position on each img (x% y% of the 4:5 col-*-sm.webp). */
.h26-circles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.h26-circle { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; text-decoration: none; color: var(--ink); text-align: center; }
.h26-circle-media { display: block; width: 100%; max-width: 210px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--mist);
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--lilac200, #C9A24A); margin-bottom: 0.6rem; transition: box-shadow 0.25s, transform 0.35s; }
.h26-circle-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.h26-circle-label { font-family: var(--font-serif); font-weight: 600; font-size: 1.08rem; line-height: 1.2; color: var(--purple-deep); }
.h26-circle-desc { font-size: 0.82rem; line-height: 1.35; color: var(--ink-muted); max-width: 30ch; }
.h26-circle:hover .h26-circle-media, .h26-circle:focus-visible .h26-circle-media { box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--purple-light); transform: translateY(-3px); }
.h26-circle:focus-visible { outline: none; }
@media (hover: hover) { .h26-circle:hover .h26-circle-media img { transform: scale(1.05); } }
@media (max-width: 599px) {
  .h26-circles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 1rem; }
  .h26-circle-media { max-width: 150px; }
  .h26-circle-label { font-size: 0.98rem; }
  .h26-circle-desc { font-size: 0.76rem; }
}
@media (prefers-reduced-motion: reduce) { .h26-circle-media, .h26-circle-media img { transition: none; } }

/* Royal Plum & Gold accents (owner's choice, Nov 28 2026) */
.h26-eyebrow{color:#B08A35}
.h26-circle-media{box-shadow:0 0 0 4px #fff,0 0 0 6px #C9A24A}
.h26-actions .btn-outline{border-color:#C9A24A}

/* Wedding Event: 3 tiles (owner, Nov 28 2026) */
.h26-tiles--3{grid-template-columns:repeat(3,minmax(0,1fr));max-width:900px;margin-left:auto;margin-right:auto}
@media (max-width:599px){.h26-tiles--3{gap:.7rem}.h26-tiles--3 .h26-tile-over{font-size:.95rem;padding:.5rem .4rem}}

/* Portrait banner photos, no landscape crop (owner, Nov 28 2026) */
.h26-slide-media{aspect-ratio:4/5}
@media (max-width:699px){.h26-slide-media{aspect-ratio:4/5}}
@media (min-width:700px){
  .h26-slide{height:auto;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;background:var(--mist)}
  .h26-slide::before{display:none}
  .h26-slide-media{position:relative;inset:auto;grid-column:2;grid-row:1;height:clamp(460px,48vw,620px);aspect-ratio:4/5;margin-right:max(var(--gutter),calc((100vw - var(--h26-max))/2 + var(--gutter)))}
  .h26-slide-media img{object-position:center;border-radius:0 0 0 0}
  .h26-slide-copy{grid-column:1;grid-row:1;width:auto;height:auto;padding:2rem 2.5rem 3rem max(var(--gutter),calc((100vw - var(--h26-max))/2 + var(--gutter)))}
}
@media (min-width:700px) and (max-width:899px){.h26-slide-copy{width:auto}.h26-slide-media{height:420px}}

/* Trust strip: pickup sub-line (owner, Nov 28 2026) */
.h26-trust-sub{display:block;font-size:.78em;font-weight:700;color:var(--purple);letter-spacing:.02em;margin-top:.15rem}
