/* Homepage, October 2026 redesign (owner-approved photo-led direction).
   Full-bleed hero photo, Meadow/Forge split, audience photo cards, sage "your names" band, then a calm finish.
   Breakpoints: phone (<600), Pixel Fold inner screen and tablets (600–1023), desktop (1024+). */

.hp { --cream: #fbf8f1; --linen: #f3eee2; --charcoal: #263530; --brass: #a07842; }
.hp section { scroll-margin-top: 90px; }
.hp .eyebrow { color: var(--brass); letter-spacing: .18em; }
.hp h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
.hp .head .eyebrow, .hp .intro .eyebrow { justify-content: center; }

/* ---------- Hero ---------- */
.hp-hero { position: relative; background: var(--linen); overflow: hidden; }
.hp-hero picture, .hp-hero picture img { display: block; width: 100%; height: 100%; }
.hp-hero picture img { object-fit: cover; object-position: 70% 50%; }
.hp-hero .hero-inner { position: relative; z-index: 1; }
.hp-hero h1 { font-size: clamp(3rem, 6vw, 5.6rem); line-height: 1.02; color: var(--ink); }
.hp-hero h1 .script { display: block; color: var(--sage-deep); font-size: 1.05em; line-height: .95; margin-bottom: .1em; }
.hp-hero .lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: #3f453d; max-width: 30rem; margin: 1.1rem 0 1.6rem; }
.hp-hero .btn-row { gap: .75rem; }
.hp-hero .ready-line { margin-top: 1.2rem; font-size: .9rem; color: #4d554b; }
.hp-hero .photo-note { position: absolute; right: 14px; bottom: 10px; z-index: 1; font-size: .7rem; color: #5d5a50; background: rgba(251, 248, 241, .8); padding: .2rem .55rem; border-radius: 3px; }

@media (min-width: 700px) {
  .hp-hero { min-height: clamp(560px, 62vh, 720px); display: flex; align-items: center; }
  .hp-hero picture { position: absolute; inset: 0; }
  /* soft linen wash so the headline reads over the photo's plain left side */
  .hp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(246, 241, 230, .92) 0%, rgba(246, 241, 230, .75) 32%, rgba(246, 241, 230, 0) 58%); }
  .hp-hero .hero-inner { width: 100%; padding-block: 4rem; }
  .hp-hero .hero-copy { max-width: 560px; }
}
@media (min-width: 700px) and (max-width: 1023px) {
  .hp-hero { min-height: 520px; }
  .hp-hero picture img { object-position: 78% 50%; }
  .hp-hero::after { background: linear-gradient(90deg, rgba(246, 241, 230, .95) 0%, rgba(246, 241, 230, .82) 45%, rgba(246, 241, 230, 0) 72%); }
  .hp-hero .hero-copy { max-width: 56%; }
  .hp-hero h1 { font-size: clamp(2.6rem, 6.2vw, 3.6rem); }
}
@media (max-width: 699px) {
  /* Phone: same look as desktop. Heading on the linen, the photo fading in softly underneath it. */
  .hp-hero { display: flex; flex-direction: column; padding: 0; background: #f4efe3; }
  .hp-hero .hero-inner { order: 1; position: relative; z-index: 2; padding: 1.4rem var(--gutter) 0; }
  .hp-hero picture { order: 2; position: relative; margin-top: -3.5rem; aspect-ratio: 5 / 4; width: 100%; height: auto;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 32%); mask-image: linear-gradient(to bottom, transparent 0%, #000 32%); }
  .hp-hero picture img { width: 100%; height: 100%; object-fit: cover; object-position: 86% 55%; }
  .hp-hero h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
  .hp-hero .lede { font-size: 1rem; margin: .9rem 0 1.2rem; }
  .hp-hero .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
  .hp-hero .btn-row .btn { padding: .8rem .5rem; font-size: .88rem; justify-content: center; text-align: center; }
  .hp-hero .ready-line { font-size: .8rem; margin-top: .9rem; }
  .hp-hero .photo-note { top: auto; bottom: 10px; right: 12px; }
}

/* ---------- Two sides ---------- */
.hp-sides { background: var(--cream); }
.hp-sides .intro { text-align: center; max-width: 720px; margin: 0 auto clamp(1.8rem, 4vw, 2.8rem); }
.hp-sides .intro p { color: var(--ink-2); font-size: 1.08rem; line-height: 1.75; margin: 1rem auto 0; }
.side-split { display: grid; grid-template-columns: 1fr 1fr; border-radius: 8px; overflow: hidden; box-shadow: 0 22px 50px rgba(38, 53, 48, .14); }
.side-half { display: grid; grid-template-rows: auto 1fr; gap: clamp(1.2rem, 2.5vw, 1.8rem); padding: clamp(1.25rem, 3vw, 2.25rem); min-width: 0; }
.side-half.meadow { background: linear-gradient(135deg, #f6f1e2, #e7ede0); }
.side-half.forge { background: linear-gradient(135deg, #22322b, #33392f); color: #efe9df; }
.side-half figure { margin: 0; border-radius: 6px; overflow: hidden; box-shadow: 0 14px 30px rgba(0, 0, 0, .18); background: #ece5d6; aspect-ratio: 16 / 10; }
.side-half figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.side-half .head-row { display: flex; align-items: center; gap: .75rem; }
.side-half .mark { width: 54px; height: 54px; margin-bottom: .2rem; }
.side-half .mark .ring, .side-half .mark .sparks { display: none; }
.side-half .tag { white-space: nowrap; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.side-half.forge .tag { color: #d7b27b; }
.side-half h3 { font-size: clamp(2.2rem, 3.4vw, 2.9rem); margin: .15rem 0 .55rem; }
.side-half p { margin: 0 0 1rem; line-height: 1.7; font-size: .98rem; }
.side-half.meadow p { color: #46503f; }
.side-half.forge p { color: #cfc8bb; }
.side-half ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.side-half li a { display: inline-block; font-size: .78rem; padding: .3rem .7rem; border-radius: 999px; text-decoration: none; border: 1px solid rgba(77, 97, 70, .4); color: var(--sage-deep); }
.side-half.forge li a { border-color: rgba(215, 178, 123, .5); color: #e9dcc6; }
.side-half li a:hover { background: rgba(255, 255, 255, .25); }

/* ---------- Audience photo cards ---------- */
.hp-for .head { text-align: center; margin-bottom: clamp(1.5rem, 3.5vw, 2.4rem); }
.aud-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 1.6vw, 1.25rem); }
.aud-card { position: relative; display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 3 / 4; color: #fff; text-decoration: none; background: #3a3a33; box-shadow: 0 14px 34px rgba(38, 53, 48, .16); }
.aud-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.aud-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 24, 20, 0) 40%, rgba(20, 24, 20, .78) 100%); }
.aud-card .txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(.9rem, 1.8vw, 1.3rem); }
.aud-card h3 { font-size: clamp(1.55rem, 2.3vw, 2rem); color: #fff; }
.aud-card p { margin: .25rem 0 .55rem; font-size: .88rem; line-height: 1.45; color: #ece6da; }
.aud-card .go { font-size: .82rem; font-weight: 600; letter-spacing: .02em; }
.aud-card:hover img { transform: scale(1.04); }
.aud-card:hover { color: #fff; }
.hp-for .photo-note { text-align: center; font-size: .75rem; color: var(--ink-2); margin-top: 1rem; }

/* ---------- Your names band ---------- */
.hp-names { background: linear-gradient(120deg, #6f8566, #8a9c7c); color: #fff; padding-block: clamp(2rem, 4vw, 3rem); }
.names-row > * { min-width: 0; }
.names-row { display: grid; grid-template-columns: 1.05fr 1fr 1.05fr; gap: clamp(1rem, 3vw, 2.5rem); align-items: center; }
.names-row h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.05; }
.names-row h2 .script { display: block; font-size: 1.15em; color: #fdf6e6; font-weight: 400; }
.names-row p { margin: .7rem 0 0; color: #f1f3ea; line-height: 1.6; font-size: .95rem; }
.names-stage { background: rgba(255, 253, 247, .16); border-radius: 8px; padding: 1rem; display: flex; gap: 6%; justify-content: center; align-items: flex-end; min-width: 0; }
.names-stage .mock-bar { width: 44% !important; flex: 0 1 44%; max-width: 170px; min-width: 0; filter: drop-shadow(0 10px 14px rgba(20, 30, 20, .3)); }
.names-stage .mock-bar svg { width: 100%; height: auto; }
.names-form { display: grid; gap: .6rem; }
.names-form label { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #f4f1e6; }
.names-form input { width: 100%; padding: .85rem 1rem; border-radius: 4px; border: 1px solid rgba(255, 255, 255, .6); font: 500 1rem var(--body); background: #fffdf7; color: var(--ink); }
.names-form .btn { background: var(--charcoal); border-color: var(--charcoal); color: #fff; justify-content: center; }
.names-form .btn:hover { background: #111a16; border-color: #111a16; }
.names-form small { color: #eef1e6; font-size: .75rem; line-height: 1.5; }

/* ---------- Favor sizes ---------- */
.hp-sizes .head { text-align: center; max-width: 680px; margin: 0 auto clamp(1.6rem, 3.5vw, 2.4rem); }
.hp-sizes .head p { color: var(--ink-2); margin-top: .8rem; }
.hp-sizes .styles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.5rem); }
.hp-sizes .style-card { border-radius: 8px; box-shadow: 0 12px 30px rgba(38, 53, 48, .09); }
.hp-sizes .style-proof { background: radial-gradient(ellipse at 50% 85%, #d6dec9, #edf0e4 70%); }
.hp-sizes .note { text-align: center; font-size: .8rem; color: var(--ink-2); margin-top: 1.2rem; }

/* ---------- Wrapped strip ---------- */
.hp-wrap { background: var(--charcoal); color: #efe9df; padding-block: clamp(1.8rem, 3.5vw, 2.6rem); }
.hp-wrap .wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem, 3vw, 2.5rem); align-items: center; }
.hp-wrap h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.hp-wrap p { margin: 0; color: #cfc8bb; line-height: 1.7; font-size: .95rem; max-width: 62ch; }
.hp-wrap p strong { color: #f0d6a8; font-weight: 600; }

/* ---------- Tablet / Pixel Fold inner screen ---------- */
@media (max-width: 1023px) {
  .aud-card p { display: none; }
  .side-half p { font-size: .92rem; }
  .names-row { grid-template-columns: 1fr 1fr; }
  .names-row > :first-child { grid-column: 1 / -1; }
  .hp-sizes .styles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* ---------- Phones (incl. Pixel Fold outer screen) ---------- */
@media (max-width: 699px) {
  .side-split { grid-template-columns: 1fr; }
  .aud-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .aud-grid { gap: .6rem; }
  .aud-card { aspect-ratio: 3 / 4; }
  .aud-card p { display: none; }
  .names-row { grid-template-columns: 1fr; }
  .hp-sizes .styles { grid-template-columns: 1fr; gap: .75rem; }
  .hp-sizes .style-card { grid-template-columns: 38% 1fr; grid-template-rows: auto; align-items: stretch; }
  .hp-sizes .style-proof { height: auto; min-height: 150px; padding: .8rem; }
  .hp-sizes .style-proof svg { max-height: 130px; }
  .hp-sizes .style-body { padding: .9rem 1rem; gap: .3rem; align-content: center; }
  .hp-sizes .style-body h3 { font-size: 1.35rem; }
  .hp-sizes .style-body p { margin: 0; font-size: .85rem; line-height: 1.45; }
  .hp-sizes .style-body .go { margin-top: .35rem; font-size: .85rem; }
  .hp-wrap .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .aud-grid { grid-template-columns: 1fr 1fr; }
  .aud-card h3 { font-size: 1.3rem; }
}

/* ---------- Inner-page photo banners (weddings, events, hosts, realtors, shop, samples) ---------- */
.page-hero .eyebrow { color: var(--bronze); letter-spacing: .17em; }
.page-hero h1 { font-size: clamp(2.4rem, 4.4vw, 4rem); line-height: 1.05; }
.page-hero .lede { font-size: clamp(1rem, 1.3vw, 1.12rem); max-width: 34rem; }
@media (min-width: 700px) { .page-hero { min-height: clamp(460px, 52vh, 600px); } .page-hero .hero-copy { max-width: 600px; } }
@media (max-width: 699px) { .page-hero h1 { font-size: clamp(2rem, 8.6vw, 2.6rem); } .page-hero .lede { font-size: .95rem; } }
.page-hero + .collection-intro, .page-hero + section { padding-top: clamp(1.6rem, 3.5vw, 2.6rem); }

/* Framed variant: a crisp product photo card on clean linen (used where the source photo is small). */
.page-hero.framed { background: linear-gradient(115deg, #f6f1e4 0%, #f2eee2 55%, #e6ecdc 100%); }
.page-hero.framed::after { display: none; }
@media (min-width: 700px) {
  .page-hero.framed picture { position: absolute; inset: auto; right: max(var(--gutter), calc((100vw - var(--max)) / 2)); top: 50%; transform: translateY(-50%) rotate(1deg); width: min(44%, 560px); height: auto; border: 8px solid #fffaf0; border-radius: 4px; box-shadow: 0 22px 50px rgba(42, 64, 41, .22); overflow: hidden; }
  .page-hero.framed picture img { width: 100%; height: auto; object-fit: contain; }
  .page-hero.framed .hero-copy { max-width: 48%; }
  .page-hero.framed .photo-note { right: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
}
@media (max-width: 699px) {
  .page-hero.framed picture { margin: 1.2rem var(--gutter) 1.6rem; width: auto; aspect-ratio: auto; border: 6px solid #fffaf0; border-radius: 4px; box-shadow: 0 16px 34px rgba(42, 64, 41, .18); -webkit-mask-image: none; mask-image: none; }
  .page-hero.framed picture img { height: auto; object-fit: contain; }
}
/* Owner Oct 23: real same-scale photos in the "Pick your favor" cards */
.hp-sizes .style-proof.photo { padding: 0; height: auto; aspect-ratio: 5 / 4; background: #ecebe6; }
.hp-sizes .style-proof.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%; display: block; }
@media (max-width: 699px) { .hp-sizes .style-proof.photo { aspect-ratio: auto; min-height: 150px; } }

/* Owner Oct 24: "under development" notice while new photos are added */
.hp-dev-note { margin: 0; padding: .6rem var(--gutter); background: #f3ead9; color: var(--ink); border-bottom: 1px solid var(--line); text-align: center; font-size: .9rem; line-height: 1.4; }
@media (max-width: 600px) { .hp-dev-note { font-size: .8rem; } }

/* Owner Nov 14: compact homepage collection cards, scoped away from the shop. */
#home-products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
#home-products .card .art { aspect-ratio: auto; height: 210px; overflow: hidden; }
#home-products .card .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
#home-products .card .art svg { max-height: 85%; width: auto; max-width: 85%; }
#home-products .card .body { padding: .85rem; gap: .45rem; }
#home-products .card h3 { font-size: 1.35rem; line-height: 1.15; }
#home-products .card .row { flex-wrap: wrap; gap: .5rem; }
@media (max-width: 1050px) {
  #home-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  #home-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #home-products .card .art { height: 190px; }
}
/* Phones: one column of small horizontal cards, photo on the left (owner, Nov 14, 2026). */
@media (max-width: 600px) {
  #home-products { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
  #home-products .card { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: stretch; }
  #home-products .card .art { height: 100%; min-height: 132px; }
  #home-products .card .art .chip { top: .35rem; left: .35rem; font-size: .56rem; padding: .28rem .4rem; gap: .25rem; max-width: calc(100% - .7rem); }
  #home-products .card .art .chip::before { width: 5px; height: 5px; }
  #home-products .card .art .mock-tag { right: .35rem; bottom: .35rem; font-size: .5rem; padding: .25rem .35rem; }
  #home-products .card .art .photo-soon { min-height: 0 !important; font-size: .56rem !important; padding: .4rem; text-align: center; }
  #home-products .card .body { padding: .6rem .75rem .65rem; gap: .2rem; min-width: 0; }
  #home-products .card .side-tag { font-size: .6rem; }
  #home-products .card h3 { font-size: 1.15rem; }
  #home-products .card .scent { font-size: .82rem; min-height: 0; line-height: 1.3; }
  #home-products .card .format-note { font-size: .72rem; margin: 0; }
  #home-products .card .row { margin-top: .25rem; flex-wrap: nowrap; align-items: flex-end; }
  #home-products .card .price { font-size: 1.1rem; line-height: 1.1; }
  #home-products .card .price small { font-size: .56rem; }
  #home-products .card .add-btn { font-size: .76rem; padding: .42rem .7rem; }
}
