/* =========================================================
   MILL STREET — v4: new hero, journal, footer, login, FAQ
   ========================================================= */

/* menu + marquee + top bar in Montserrat */
.topbar, .nav-link, .dd a, .band span, .announce { font-family: var(--sans) !important; }
.topbar { font-size: clamp(.78rem, 1.1vw, .92rem); font-weight: 500; letter-spacing: .02em; }
.nav-link { font-size: .92rem; font-weight: 500; letter-spacing: .01em; }

/* ---------------- hero (2.5:1 banner) ---------------- */
.hero3 { position: relative; background: #EDE4D6; overflow: hidden; }
.hero3-img { position: relative; aspect-ratio: 2.5 / 1; }
.hero3-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: settle 2.4s var(--ease) both; transform-origin: 30% 60%; }
.hero3-text { position: absolute; left: 52.4%; width: 31.6%; top: 13.5%; text-align: center; color: #3B1A12; }
.hero3-sun { width: 18%; margin: 0 auto 4%; }
.hero3-kick { font-family: var(--sans); font-weight: 500; font-size: clamp(.5rem, .74vw, .95rem); letter-spacing: .28em; text-transform: uppercase; color: #3B2A22; white-space: nowrap; }
.hero3-rule { display: flex; align-items: center; justify-content: center; gap: 4%; margin: 4% auto 5%; width: 82%; }
.hero3-rule i { flex: 1; height: 1px; background: #5A3B2E; position: relative; }
.hero3-rule i:first-child::after, .hero3-rule i:last-child::before { content: ''; position: absolute; top: -2px; width: 5px; height: 5px; background: #5A3B2E; transform: rotate(45deg); }
.hero3-rule i:first-child::after { right: -2px; } .hero3-rule i:last-child::before { left: -2px; }
.hero3-rule svg { width: 7%; min-width: 14px; color: #5A3B2E; }
.hero3 h1 { font-family: var(--serif); font-weight: 700; text-transform: uppercase; font-size: clamp(1.3rem, 3.45vw, 5rem); line-height: 1.04; letter-spacing: -.01em; }
.hero3 h1 span { display: block; }
.hero3 h1 em { display: block; font-style: italic; color: #2F4A2A; font-weight: 700; }
.hero3-ctas { display: flex; justify-content: center; gap: .6rem; margin-top: 7%; flex-wrap: wrap; }
.hero3-ctas .btn { padding: clamp(.5rem, .75vw, .95rem) clamp(.9rem, 1.4vw, 1.7rem); font-size: clamp(.72rem, .85vw, 1rem); }
.hero3 .up { opacity: 0; transform: translateY(12px); animation: up .9s var(--ease) forwards; }
.hero3 .up:nth-child(2) { animation-delay: .12s; } .hero3 .up:nth-child(3) { animation-delay: .22s; } .hero3 .up:nth-child(4) { animation-delay: .32s; } .hero3 .up:nth-child(5) { animation-delay: .42s; }

/* ---------------- journal grid ---------------- */
.jr-hero { background: #F6EEDF; text-align: center; padding: clamp(3rem, 7vw, 5.5rem) var(--pad) clamp(2rem, 4vw, 3rem); }
.jr-hero .hand { color: var(--plum); font-size: 1.2rem; }
.jr-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1; margin: .3rem 0 .8rem; }
.jr-hero p { max-width: 56ch; margin: 0 auto; color: var(--ink-soft); }
.jr-chips { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; margin-top: 1.8rem; }
.jr-chips button { padding: .5rem 1.2rem; border-radius: 999px; border: 1.5px solid rgba(43, 19, 32, .2); font-weight: 500; font-size: .9rem; transition: background .25s, color .25s, border-color .25s; }
.jr-chips button[aria-pressed="true"], .jr-chips button:hover { background: var(--plum); border-color: var(--plum); color: #fff; }
.jr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem 1.6rem; padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem); }
.jr-card { display: flex; flex-direction: column; }
.jr-card.hide { display: none; }
.jr-card .im { aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; margin-bottom: 1rem; background: var(--atta-2); }
.jr-card .im img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.jr-card:hover .im img { transform: scale(1.06); }
.jr-meta { display: flex; gap: .8rem; align-items: center; font-size: .8rem; color: var(--ink-soft); margin-bottom: .5rem; }
.jr-tag { background: rgba(140, 55, 79, .1); color: var(--plum); font-weight: 600; padding: .2rem .6rem; border-radius: 999px; }
.jr-card h2, .jr-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.15; margin-bottom: .5rem; transition: color .25s; }
.jr-card:hover h2, .jr-card:hover h3 { color: var(--plum); }
.jr-card p { color: var(--ink-soft); font-size: .95rem; }
.jr-card .more { margin-top: .8rem; font-weight: 600; font-size: .9rem; color: var(--plum); }
.jr-card.feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.4rem; align-items: center; }
.jr-card.feature .im { aspect-ratio: 2.5 / 1; margin: 0; }
.jr-card.feature h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }

/* ---------------- article ---------------- */
.ar-head { text-align: center; padding: clamp(2.5rem, 5vw, 4rem) var(--pad) clamp(1.8rem, 3vw, 2.4rem); max-width: 900px; margin: 0 auto; }
.ar-crumb { font-size: .85rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.ar-crumb a:hover { color: var(--plum); }
.ar-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; margin: .8rem 0 1rem; }
.ar-head .jr-meta { justify-content: center; }
.ar-hero { aspect-ratio: 2.5 / 1; border-radius: 22px; overflow: hidden; }
.ar-hero img { width: 100%; height: 100%; object-fit: cover; }
.ar-body { max-width: 720px; margin: 0 auto; padding: clamp(2.5rem, 5vw, 3.5rem) var(--pad) 1rem; font-size: 1.04rem; line-height: 1.8; color: #3A2C32; }
.ar-body .lead { font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.65rem); line-height: 1.45; color: var(--ink); margin-bottom: 1.6rem; }
.ar-body h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.15; margin: 2.2rem 0 .8rem; color: var(--ink); }
.ar-body p { margin-bottom: 1.1rem; }
.ar-body ul, .ar-body ol { margin: 0 0 1.4rem 1.3rem; }
.ar-body li { margin-bottom: .55rem; padding-left: .3rem; }
.ar-body li::marker { color: var(--plum); font-weight: 700; }
.ar-body blockquote { margin: 2rem 0; padding: 1.4rem 1.6rem; border-left: 3px solid var(--turmeric); background: #FBF5E8; border-radius: 0 14px 14px 0; font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.45; color: var(--ink); }
.recipe { background: #fff; border: 1px solid rgba(43, 19, 32, .12); border-radius: 20px; padding: clamp(1.4rem, 3vw, 2.2rem); margin: 2rem 0; }
.recipe-top { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .4rem 1rem; border-bottom: 1px dashed rgba(43, 19, 32, .2); padding-bottom: .9rem; margin-bottom: 1.2rem; }
.recipe-top h2 { margin: 0 !important; font-size: 1.6rem !important; }
.recipe-top span { font-size: .85rem; color: var(--ink-soft); }
.recipe-cols { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; }
.recipe h3 { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); margin-bottom: .7rem; }
.recipe ul { list-style: none; margin: 0 !important; }
.recipe ul li { padding: .45rem 0 .45rem 1.6rem; border-bottom: 1px solid rgba(43, 19, 32, .07); position: relative; margin: 0; font-size: .96rem; line-height: 1.5; cursor: pointer; }
.recipe ul li::before { content: ''; position: absolute; left: 0; top: .7rem; width: 14px; height: 14px; border: 1.5px solid var(--plum); border-radius: 4px; }
.recipe ul li.on { color: #9C8F8A; text-decoration: line-through; }
.recipe ul li.on::before { background: var(--plum); box-shadow: inset 0 0 0 2px #fff; }
.recipe ol { margin: 0 0 0 1.2rem !important; }
.recipe ol li { font-size: .96rem; line-height: 1.6; }
.ar-shop { background: #F7F1E3; padding: clamp(3rem, 6vw, 4.5rem) 0; margin-top: 2.5rem; }
.ar-shop h2, .ar-more h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.6rem); text-align: center; margin-bottom: 1.8rem; }
.ar-shop .pgrid { padding: 0; grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); justify-content: center; }
.ar-more { padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
.ar-more .jr-grid { padding: 0; }

/* ---------------- FAQ page ---------------- */
.faq-wrap { max-width: 860px; margin: 0 auto; padding: 0 var(--pad) clamp(4rem, 8vw, 6rem); }
.faq-sec { padding-top: 2.6rem; scroll-margin-top: calc(var(--head-h) + 20px); }
.faq-sec > h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 1rem; }
.faq-sec details { border-bottom: 1px solid rgba(43, 19, 32, .15); }
.faq-sec summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; font-weight: 600; font-size: 1rem; }
.faq-sec summary::-webkit-details-marker { display: none; }
.faq-sec summary::after { content: '+'; font-size: 1.4rem; font-weight: 400; color: var(--plum); transition: transform .3s var(--ease); }
.faq-sec details[open] summary::after { transform: rotate(45deg); }
.faq-sec details p { padding: 0 0 1.2rem; color: var(--ink-soft); line-height: 1.7; }
.track { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .4rem; }
.track input { flex: 1 1 200px; padding: .9rem 1.1rem; border-radius: 12px; border: 1.5px solid rgba(43, 19, 32, .25); background: #fff; }
.track-msg { width: 100%; font-size: .9rem; color: var(--plum); min-height: 1.3em; }

/* ---------------- footer v4 ---------------- */
.foot4 { position: relative; background: #EEDFB9; color: #22302A; overflow: hidden; }
.foot4 .foot3-hands { max-height: 360px; }
.f4-main { display: grid; grid-template-columns: 1fr 1.5fr 1.1fr; gap: clamp(1.6rem, 3.5vw, 3.5rem); max-width: 1280px; margin: 1.5rem auto 0; padding: 0 var(--pad) 1rem; position: relative; z-index: 2; align-items: start; }
.f4-brand img { width: clamp(170px, 18vw, 260px); }
.f4-social { display: flex; gap: 1rem; margin-top: 1.4rem; }
.f4-social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--plum); border: 1.5px solid rgba(140, 55, 79, .35); transition: background .25s, color .25s, transform .3s var(--ease); }
.f4-social a:hover { background: var(--plum); color: #fff; transform: translateY(-3px); }
.f4-social svg { width: 22px; height: 22px; }
.f4-center { text-align: center; }
.f4-center h2 { font-family: var(--serif); font-weight: 700; text-transform: uppercase; color: #1E3A2B; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.02; letter-spacing: -.005em; margin-bottom: .8rem; }
.f4-center > p { font-size: 1rem; line-height: 1.6; max-width: 44ch; margin: 0 auto 1.6rem; color: #2C3A33; }
.f4-sub { display: flex; max-width: 460px; margin: 0 auto; border-bottom: 1.5px solid #22302A; flex-wrap: wrap; }
.f4-sub input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .9rem .3rem; font-size: 1rem; outline: none; color: #22302A; }
.f4-sub input::placeholder { color: #6D7A72; }
.f4-sub button { font-family: var(--sans); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: .9rem; padding: 0 .3rem 0 1rem; transition: color .2s; }
.f4-sub button:hover { color: var(--plum); }
.f4-msg { max-width: 460px; margin: .5rem auto 0; font-size: .85rem; min-height: 1.2em; color: var(--plum); }
.f4-menus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.8rem; align-items: start; }
.f4-menu > button { display: inline-flex; align-items: center; gap: .5rem; font-size: 1rem; padding: .5rem .3rem; }
.f4-menu > button svg { width: 12px; height: 8px; transition: transform .35s var(--ease); }
.f4-menu > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.f4-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.f4-menu.open .f4-panel { grid-template-rows: 1fr; }
.f4-panel > ul { overflow: hidden; list-style: none; }
.f4-panel li { padding: .32rem 0; font-size: .95rem; line-height: 1.5; }
.f4-panel li:first-child { padding-top: .6rem; }
.f4-panel a { transition: color .2s; }
.f4-panel a:hover { color: var(--plum); }
.f4-legal h3 { font-family: var(--serif); font-weight: 700; text-transform: uppercase; color: #1E3A2B; font-size: 1.15rem; letter-spacing: .01em; margin-bottom: 1rem; }
.f4-legal p { font-size: .95rem; line-height: 1.75; margin-bottom: .9rem; }
.f4-legal a:hover { color: var(--plum); }
.foot4 .foot3-fields { margin-top: -1rem; }

/* ---------------- login / sign up ---------------- */
.login-card { aspect-ratio: auto !important; height: auto; max-height: 94vh; overflow-y: auto; display: block !important; background: #1d1d1d; scrollbar-width: thin; }
.login-photo { position: absolute; inset: 0 0 auto 0; height: 300px; }
.login-photo::after { background: linear-gradient(180deg, rgba(0, 0, 0, .35), transparent 40%, rgba(29, 29, 29, .9) 100%) !important; }
.login-sheet { margin: 175px 1rem 1rem !important; }
.lg-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #F3EEE6; border-radius: 12px; padding: 4px; margin-bottom: 1.2rem; }
.lg-tabs button { padding: .65rem; border-radius: 9px; font-weight: 600; font-size: .92rem; color: #6B5D63; transition: background .25s, color .25s, box-shadow .25s; }
.lg-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 8px -3px rgba(0, 0, 0, .25); }
.lg-social { display: grid; gap: .55rem; }
.lg-social button { display: flex; align-items: center; justify-content: center; gap: .7rem; width: 100%; padding: .78rem 1rem; border: 1.5px solid #E3DED6; border-radius: 12px; font-weight: 600; font-size: .93rem; background: #fff; transition: border-color .2s, background .2s; }
.lg-social button:hover { border-color: #B9B1A6; background: #FBFAF7; }
.lg-social svg { width: 20px; height: 20px; }
.lg-or { display: flex; align-items: center; gap: .8rem; margin: 1.1rem 0; color: #9A9096; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.lg-or::before, .lg-or::after { content: ''; flex: 1; height: 1px; background: #E8E2DA; }
.lg-switch { display: flex; justify-content: center; gap: .4rem; margin-bottom: .9rem; }
.lg-switch button { padding: .4rem .95rem; border-radius: 999px; font-size: .85rem; font-weight: 600; border: 1.5px solid #E3DED6; color: #6B5D63; }
.lg-switch button[aria-pressed="true"] { border-color: #0F4B37; color: #0F4B37; background: rgba(15, 75, 55, .06); }
.lg-field { display: block; text-align: left; margin-bottom: .7rem; }
.lg-field > span { display: block; font-size: .78rem; font-weight: 600; color: #6B5D63; margin-bottom: .3rem; }
.lg-field input { width: 100%; padding: .85rem 1rem; border: 1.5px solid #E3DED6; border-radius: 12px; font-size: 1rem; outline: none; transition: border-color .2s, box-shadow .2s; }
.lg-field input:focus { border-color: #0F4B37; box-shadow: 0 0 0 3px rgba(15, 75, 55, .12); }
.lg-phone-in { display: flex; border: 1.5px solid #E3DED6; border-radius: 12px; overflow: hidden; }
.lg-phone-in:focus-within { border-color: #0F4B37; box-shadow: 0 0 0 3px rgba(15, 75, 55, .12); }
.lg-phone-in .lg-cc { border-right: 1px solid #E3DED6; font-size: 1rem; }
.lg-phone-in input { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; border-radius: 0; padding: .85rem .9rem; font-size: 1rem; outline: none; }
.lg-phone-in .lg-cc { display: inline-flex; align-items: center; gap: .45rem; padding: 0 .9rem; color: #444; }
.lg-go { width: 100%; justify-content: center; margin-top: .4rem; background: #0F4B37 !important; color: #fff !important; }
.lg-go::before { background: var(--plum) !important; }
.lg-row { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; margin: -.2rem 0 .6rem; }
.lg-note { font-size: .78rem; color: #8A7F84; margin-top: .6rem; }
.lg-me { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.lg-me .av-lg { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--plum); color: #fff; font-family: var(--serif); font-size: 2rem; box-shadow: 0 0 0 4px #fff, 0 0 0 5px rgba(43, 19, 32, .12); margin-bottom: .6rem; }
.lg-me .av-lg img { width: 100%; height: 100%; object-fit: cover; }
.lg-me b { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; }
.lg-me small { color: var(--ink-soft); font-size: .88rem; margin-bottom: .8rem; }
.lg-me .btns { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.lg-out { padding: .8rem 1.3rem; border-radius: 999px; border: 1.5px solid #E3DED6; font-weight: 600; font-size: .9rem; }
.icon-btn .hdr-av { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--plum); color: #fff; font-weight: 700; font-size: .85rem; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--green); }
.icon-btn .hdr-av img { width: 100%; height: 100%; object-fit: cover; }
.icon-btn.signed::after { display: none; }

/* story: five promises centred on the page */
.story .st-promise ol { max-width: 760px; margin: 0 auto 4rem; text-align: center; padding: 0; }
.story .st-promise li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; padding: 1.6rem 0; grid-template-columns: none; }
.story .st-promise li::before { font-size: .85rem; }
.story .st-promise li b { font-size: 1.7rem; }
.story .st-promise li span { max-width: 44ch; grid-column: auto; }

/* ---------------- responsive ---------------- */
@media (max-width: 1180px) {
  .nav-link { font-size: .86rem; }
}
@media (max-width: 1040px) {
  .nav-link { font-size: 1.15rem; font-weight: 500; }
  .f4-main { grid-template-columns: 1fr 1fr; }
  .f4-center { grid-column: 1 / -1; order: -1; }
  .jr-grid { grid-template-columns: repeat(2, 1fr); }
  .jr-card.feature { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 760px) {
  .hero3-img { aspect-ratio: auto; height: 82vw; max-height: 520px; }
  .hero3-img img { object-position: 20% 50%; }
  .hero3-text { position: relative; left: auto; width: auto; top: auto; padding: 2.2rem var(--pad) 2.6rem; background: #EFE6D9; }
  .hero3-sun { width: 84px; margin-bottom: 1rem; }
  .hero3-kick { font-size: .66rem; letter-spacing: .2em; white-space: normal; }
  .hero3-rule { width: 70%; margin: 1rem auto 1.2rem; }
  .hero3 h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero3-ctas { margin-top: 1.4rem; }
  .hero3-ctas .btn { font-size: .88rem; padding: .8rem 1.3rem; }
  .ar-hero { border-radius: 14px; }
  .recipe-cols { grid-template-columns: 1fr; }
  .f4-main { grid-template-columns: 1fr; text-align: center; }
  .f4-brand img { margin: 0 auto; }
  .f4-social { justify-content: center; }
  .f4-menus { grid-template-columns: 1fr; gap: 0; text-align: center; border-top: 1px solid rgba(34, 48, 42, .2); }
  .f4-menu { border-bottom: 1px solid rgba(34, 48, 42, .2); }
  .f4-menu > button { width: 100%; justify-content: space-between; padding: .9rem .2rem; }
  .f4-panel li:last-child { padding-bottom: .9rem; }
  .f4-panel ul { text-align: left; padding: 0 .2rem; }
  .login-sheet { margin: 150px .6rem .6rem !important; }
}
@media (max-width: 560px) {
  .jr-grid { grid-template-columns: 1fr; }
  .ar-body { font-size: 1rem; }
}
@media (min-width: 1700px) {
  .wrap { max-width: 1480px; }
  .head-inner { max-width: 1320px; }
}

/* hero: the banner image as supplied */
.hero4 { background: #EDE4D6; line-height: 0; }
.hero4 img { width: 100%; height: auto; aspect-ratio: 2 / 1; display: block; }

/* footer hands: more room above */
.foot4 { padding-top: clamp(2.5rem, 5vw, 4.5rem); }

/* product cards: every image box is the same square, whatever the photo size */
.pc-media { aspect-ratio: 1 / 1; height: auto; min-height: 0; flex: 0 0 auto; width: 100%; }
.pc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pc { min-width: 0; }
@media (max-width: 1080px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ar-shop .pgrid { grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); }
@media (max-width: 560px) { .pc-coupon { white-space: normal; align-items: flex-start; line-height: 1.35; } }

/* =========================================================
   v5
   ========================================================= */
/* logo */
.brand { width: clamp(118px, 11vw, 150px); }
.brand img { width: 100%; height: auto; }
.login-logo { width: 130px !important; }

/* marquee under the hero */
.hero-band { background: var(--plum); }
.hero-band .band-track { animation-duration: 38s; padding: .85rem 0; }
.hero-band span { font-size: .88rem; letter-spacing: .14em; }
.hero-band span::after { content: '\2726'; font-size: .7rem; opacity: .75; right: -.35rem; top: .1rem; }

/* certification badges: smaller */
.badges-row { padding: 1rem 0; justify-content: center; gap: clamp(1.4rem, 4vw, 3.4rem); }
.badges-row svg { height: 64px !important; }
@media (max-width: 900px) { .badges-row { justify-content: flex-start; } .badges-row svg { height: 54px !important; } }

/* why mill street: new illustrations */
.why-item img { max-width: 300px; height: 230px; width: auto; object-fit: contain; }

/* tagline band: maroon, thin Goldenbook */
.why-quote { background: #8F1B38; color: #F8EDE6; }
.why-quote blockquote { font-family: var(--serif); font-weight: 300; font-style: normal; font-size: clamp(2.2rem, 5vw, 4.4rem); letter-spacing: .005em; }
.why-quote p { color: rgba(248, 237, 230, .85); }

/* what we stand for: new line icons, Montserrat semibold labels */
.v-item img { width: 118px; height: 118px; object-fit: contain; }
.v-item span { font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: .04em; }
.st-values img { width: 110px; height: 110px; object-fit: contain; background: var(--plum); border-radius: 50%; padding: 16px; box-sizing: border-box; }
.st-values span { font-family: var(--sans); font-weight: 600; }

/* footer: village background, 2:1 */
.foot4 { padding-top: 0; background: #FDEFD8 url(../img/photos/footer-village.jpg) 50% 100% / 100% auto no-repeat; aspect-ratio: 2 / 1; display: flex; flex-direction: column; }
.foot4 .f4-main { margin-top: 0; padding-top: clamp(2.6rem, 4.5vw, 4.5rem); padding-bottom: 0; }
.foot4 .foot3-bar { margin-top: auto; background: rgba(15, 76, 82, .94); }
.f4-brand img { width: clamp(170px, 16vw, 240px); }
@media (max-width: 1100px) {
  .foot4 { aspect-ratio: auto; padding-bottom: 0; }
  .foot4 .foot3-bar { margin-top: 42vw; }
}

/* product page gallery */
.pdp-gal { display: flex; flex-direction: column; gap: .8rem; min-width: 0; }
.pdp-gal .pdp-img { flex: 1; }
.pdp .pdp-img img { transform: scale(var(--vz, 1)); transform-origin: var(--vo, 50% 50%); transition: transform .35s ease-out, opacity .3s; }
.pdp .pdp-img.zoom img { transform: scale(calc(var(--vz, 1) * 1.8)); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.pdp .pdp-img img.fading { opacity: 0; }
.pdp-nav { position: absolute; top: 50%; z-index: 3; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; opacity: 0; transition: opacity .25s; }
.pdp-img:hover .pdp-nav, .pdp-nav:focus-visible { opacity: 1; }
.pdp-nav.prev { left: .8rem; } .pdp-nav.next { right: .8rem; }
.pdp-nav svg { width: 16px; height: 16px; }
.pdp-thumbs { display: flex; gap: .6rem; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.pdp-thumbs::-webkit-scrollbar { display: none; }
.pdp-thumbs button { flex: 0 0 auto; width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: #fff; position: relative; opacity: .65; transition: opacity .25s, box-shadow .25s; }
.pdp-thumbs button img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--vz, 1)); transform-origin: var(--vo, 50% 50%); }
.pdp-thumbs button:hover { opacity: 1; }
.pdp-thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px #1D221C; }
.pdp-count { position: absolute; left: .9rem; bottom: .9rem; z-index: 2; background: rgba(29, 34, 28, .7); color: #fff; font-size: .75rem; padding: .2rem .6rem; border-radius: 999px; }
@media (max-width: 700px) {
  .pdp-gal { order: -1; }
  .pdp-nav { opacity: 1; }
  .pdp-thumbs button { width: 62px; height: 62px; }
}

/* =========================================================
   v6
   ========================================================= */
/* header: menu truly centred, logo left, icons right */
@media (min-width: 1041px) {
  .head-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .brand { justify-self: start; }
  .nav-wrap { justify-self: center; flex: none; }
  .nav { justify-content: center; }
  .head-actions { justify-self: end; }
}
.brand { width: 118px; }

/* top bar: rotating announcements */
.topbar { padding: 0; height: 2.5rem; overflow: hidden; position: relative; }
.tb-list { list-style: none; position: relative; height: 100%; }
.tb-list li { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .35rem; padding: 0 var(--pad); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform: translateY(100%); opacity: 0; transition: transform .6s var(--ease), opacity .6s; }
.tb-list li.on { transform: none; opacity: 1; }
.tb-list li.out { transform: translateY(-100%); opacity: 0; }
@media (max-width: 560px) { .tb-list li { font-size: .74rem; white-space: normal; text-align: center; line-height: 1.25; } }

/* cart quantity: number centred in the box */
.qty output { display: grid; place-items: center; align-self: stretch; line-height: 1; padding: 0; }
.qty-card output { height: auto; min-width: 34px; font-size: 1.05rem; }
.qty-card button { display: grid; place-items: center; line-height: 1; }
.dr-row .qty output { min-width: 28px; }

/* footer: 2.5:1, text lower, company details nudged right */
.foot4 { aspect-ratio: 2.5 / 1; }
.foot4::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 62%; background: linear-gradient(180deg, rgba(253, 239, 216, .9), rgba(253, 239, 216, .55) 70%, transparent); pointer-events: none; }
.foot4 .f4-main { padding-top: clamp(3.6rem, 6vw, 6rem); }
.f4-legal { padding-left: clamp(1rem, 3vw, 3.2rem); }
@media (max-width: 1100px) { .foot4 { aspect-ratio: auto; } .f4-legal { padding-left: 0; } }

/* quality ("The Good Things We Refuse to Change") */
.quality { background: #DDE2C4; }
.quality h2 { color: #3F4A24; }
.quality::before { background-image: url(../img/wheel-mustard.svg); opacity: .55; }
.q-card::before { background-image: url(../img/wheel-mustard.svg); opacity: .6; }

/* why mill street: dark olive heading + band, 2.5:1 */
.why-top h2 { color: #3F4A24; }
.why .band.rev { background: #3F4A24; }
@media (min-width: 1101px) {
  .why-top { aspect-ratio: 2.5 / 1; display: flex; align-items: center; padding: 2.4rem 0; }
  .why-top > .wrap { width: 100%; }
  .why-top h2 { margin-bottom: .6rem; }
  .why-top > .wrap > p { margin-bottom: 1.8rem; }
  .why-item img { height: clamp(150px, 13vw, 200px); margin-bottom: 1rem; }
  .why-item h3 { font-size: 1.35rem; }
}

/* what we stand for: new photo with overlay */
.values::before { background: linear-gradient(180deg, rgba(18, 24, 14, .55), rgba(18, 24, 14, .68)); }

/* support pages */
.sup-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.sup-tabs a { padding: .45rem 1rem; border-radius: 999px; border: 1.5px solid rgba(43, 19, 32, .18); font-size: .88rem; font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
.sup-tabs a:hover, .sup-tabs a[aria-current="page"] { background: var(--plum); border-color: var(--plum); color: #fff; }
.legal { padding-top: 2.4rem; }
.legal > h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin: 2rem 0 .6rem; }
.legal > p, .legal > ul { line-height: 1.8; color: #3A2C32; margin-bottom: 1rem; }
.legal > ul { margin-left: 1.3rem; }
.legal-note { background: #FBF5E8; border-left: 3px solid var(--turmeric); padding: .9rem 1.1rem; border-radius: 0 12px 12px 0; font-size: .9rem; }
/* footer readability over the village painting */
.foot4::before { height: 78%; background: linear-gradient(180deg, rgba(253, 239, 216, .94) 0%, rgba(253, 239, 216, .86) 55%, rgba(253, 239, 216, .5) 80%, rgba(253, 239, 216, 0) 100%); }
.f4-center h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.f4-center > p { margin-bottom: 1.1rem; }
.f4-menus { margin-top: 1.2rem; }
.f4-legal h3 { margin-bottom: .6rem; }
.f4-legal p { font-size: .9rem; line-height: 1.6; margin-bottom: .55rem; }
.foot4 .f4-main { padding-top: clamp(3.2rem, 5.6vw, 5.6rem); }

/* =========================================================
   v7
   ========================================================= */
/* ---------- spin to know our story ---------- */
.spin { position: relative; color: #fff; background: #4b4a46 url(../img/photos/spin-floor.jpg) center / cover no-repeat; overflow: hidden; isolation: isolate; padding: clamp(2rem, 3.6vw, 3rem) var(--pad) clamp(1.4rem, 2.4vw, 2rem); }
.spin::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 60%, rgba(20, 18, 16, .05), rgba(20, 18, 16, .45)); }
.spin-head { text-align: center; max-width: 640px; margin: 0 auto; }
.spin-head .hand { color: #F2D58A; font-size: 1.2rem; }
.spin-head h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: 1.05; margin: .2rem 0 .6rem; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.spin-head p { color: rgba(255, 255, 255, .82); font-size: .98rem; }
.spin-stage { position: relative; width: min(1400px, 100%); margin: 0 auto; aspect-ratio: 16 / 7.6; }
.sp-mill { position: absolute; left: 50%; top: 58%; width: 29%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.sp-wheel { position: absolute; inset: 0; border-radius: 50%; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.sp-wheel:active { cursor: grabbing; }
.sp-wheel:focus-visible { outline: 3px solid #F2D58A; outline-offset: 8px; }
.sp-wheel img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sp-top { transform-origin: 49.84% 47.13%; will-change: transform; }
.sp-ring { position: absolute; inset: -5%; width: 110%; height: 110%; transform: rotate(-90deg); pointer-events: none; }
.sp-ring circle { fill: none; stroke: rgba(255, 255, 255, .18); stroke-width: .9; }
.sp-ring .sp-prog { stroke: #F2D58A; stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .15s linear; }
.spin.complete .sp-ring .sp-prog { stroke: #9FC27A; }
.sp-dots { position: absolute; left: 50%; bottom: -6.5%; transform: translateX(-50%); display: flex; gap: .5rem; }
.sp-dots i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); transition: background .3s, transform .3s; }
.sp-dots i.on { background: #F2D58A; border-color: #F2D58A; transform: scale(1.2); }
.spin.pulse .sp-wheel { animation: millpulse .6s var(--ease); }
@keyframes millpulse { 40% { filter: drop-shadow(0 0 30px rgba(242, 213, 138, .7)) drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); } }

.sp-pt { position: absolute; text-align: center; transition: transform .8s var(--ease); transform: scale(.96); }
.sp-pt.in { transform: none; }
.sp-pt > :not(.sp-lock) { opacity: .16; filter: grayscale(1) blur(2px); transition: opacity .8s var(--ease), filter .8s; }
.sp-pt.in > :not(.sp-lock) { opacity: 1; filter: none; }
.sp-pt.in > img { animation: popin .8s var(--ease); }
@keyframes popin { 0% { transform: scale(.6) rotate(-8deg); } 60% { transform: scale(1.06); } 100% { transform: none; } }
.sp-pt img { width: 64%; margin: 0 auto .6rem; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .35)); }
.sp-pt h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.15rem, 1.9vw, 1.9rem); line-height: 1.1; margin-bottom: .45rem; text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
.sp-pt p { font-family: var(--sans); font-weight: 400; font-size: clamp(.8rem, 1.05vw, 1.05rem); line-height: 1.45; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.sp-lock { position: absolute; left: 50%; top: 34%; transform: translate(-50%, -50%); font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #2B1320; background: #F2D58A; padding: .35rem .8rem; border-radius: 999px; transition: opacity .4s; white-space: nowrap; }
.sp-pt.in .sp-lock { opacity: 0; }
.sp-pt.p1 { left: 3%; top: 32%; width: 25%; }
.sp-pt.p3 { right: 3%; top: 34%; width: 25%; }
.sp-pt.p2 { left: 50%; top: 0; width: 76%; transform: translateX(-50%) scale(.96); display: grid; grid-template-columns: 1fr 22% 1fr; align-items: center; gap: 1.2rem; }
.sp-pt.p2.in { transform: translateX(-50%); }
.sp-pt.p2 img { width: 100%; margin: 0; grid-column: 2; grid-row: 1; }
.sp-pt.p2 h3 { grid-column: 1; grid-row: 1; text-align: right; margin: 0; }
.sp-pt.p2 p { grid-column: 3; grid-row: 1; text-align: left; }
.sp-pt.p2 .sp-lock { top: 50%; }
.sp-hint { position: absolute; left: 50%; bottom: -1%; transform: translateX(-50%); display: flex; align-items: center; gap: .55rem; font-size: .92rem; color: rgba(255, 255, 255, .92); white-space: nowrap; background: rgba(0, 0, 0, .35); padding: .45rem 1rem; border-radius: 999px; }
.sp-hint svg { width: 22px; height: 22px; color: #F2D58A; animation: spinhint 2.4s ease-in-out infinite; }
.spin.complete .sp-hint svg { display: none; }
.sp-hint a { color: #F2D58A; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
@keyframes spinhint { 50% { transform: rotate(160deg); } }
.sp-skip { position: absolute; right: 0; bottom: 0; font-size: .8rem; color: rgba(255, 255, 255, .7); text-decoration: underline; text-underline-offset: 3px; }
.sp-skip:hover { color: #fff; }
@media (max-width: 900px) {
  .spin-stage { aspect-ratio: auto; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; padding-top: 1.5rem; }
  .sp-mill { position: relative; left: auto; top: auto; transform: none; width: min(78vw, 380px); order: -2; margin: 1rem 0 1.6rem; }
  .sp-hint { position: relative; left: auto; bottom: auto; transform: none; order: -1; white-space: normal; text-align: center; }
  .sp-pt, .sp-pt.p1, .sp-pt.p2, .sp-pt.p3 { position: relative; left: auto; right: auto; top: auto; width: 100%; max-width: 520px; display: grid; grid-template-columns: 96px 1fr; gap: 1rem; text-align: left; align-items: center; transform: none; background: rgba(0, 0, 0, .28); border-radius: 18px; padding: .9rem; }
  .sp-pt.in, .sp-pt.p2.in { transform: none; }
  .sp-pt img, .sp-pt.p2 img { width: 96px; margin: 0; grid-column: 1; grid-row: 1 / span 2; }
  .sp-pt.p2 h3, .sp-pt.p2 p { grid-column: 2; text-align: left; }
  .sp-pt.p2 h3 { grid-row: 1; } .sp-pt.p2 p { grid-row: 2; }
  .sp-pt > div { grid-column: 2; }
  .sp-pt h3 { font-size: 1.2rem; }
  .sp-pt p { font-size: .9rem; }
  .sp-lock { top: 50%; left: 48px; }
  .sp-skip { position: relative; margin-top: .4rem; }
}

/* tagline section colour */
.why-quote { background: #8A364E; }

/* product page: square image box */
.pdp .pdp-gal .pdp-img { aspect-ratio: 1 / 1; min-height: 0; flex: none; width: 100%; }
.pdp .pdp-gal { align-self: start; }

/* footer menus: opened panel gets a readable card */
.f4-menu { position: relative; }
.f4-menu.open > button { background: rgba(255, 255, 255, .92); border-radius: 10px 10px 0 0; box-shadow: 0 -4px 14px -8px rgba(0, 0, 0, .2); }
.f4-menu.open .f4-panel > ul { background: rgba(255, 255, 255, .94); border-radius: 0 10px 10px 10px; padding: .2rem .9rem .7rem; box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.f4-menu > button { padding: .5rem .8rem; transition: background .25s; }
@media (max-width: 760px) { .f4-menu.open > button { border-radius: 10px 10px 0 0; } .f4-menu.open .f4-panel > ul { border-radius: 0 0 10px 10px; } }
/* footer menus: long items (email) must wrap inside the card, never clip */
.f4-panel li, .f4-panel a { overflow-wrap: anywhere; word-break: break-word; }
.f4-menu.open .f4-panel > ul { min-width: 100%; }
@media (min-width: 761px) { .f4-menu.open .f4-panel > ul { width: max(100%, 250px); } .f4-menu:last-child.open .f4-panel > ul { right: 0; left: auto; } }

/* story page tweaks */
.story .st-num { margin-bottom: .5rem; display: block; line-height: 1; }
.story .st-art img { width: 100%; height: 100%; object-fit: cover; }
.story .st-art { aspect-ratio: 1 / 1; }
.story .st-quote blockquote { font-family: var(--sans); font-weight: 700; font-style: normal; font-size: clamp(1.6rem, 3.6vw, 3rem); line-height: 1.25; letter-spacing: -.005em; }

/* ---------- gift hampers ---------- */
.hp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 2.4rem); padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 6rem); }
.hp-card { background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid rgba(43, 19, 32, .1); display: flex; flex-direction: column; transition: box-shadow .4s, transform .4s var(--ease); }
.hp-card:hover { box-shadow: 0 30px 50px -34px rgba(43, 19, 32, .5); transform: translateY(-4px); }
.hp-img { aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: var(--atta-2); }
.hp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.hp-card:hover .hp-img img { transform: scale(1.04); }
.hp-badge { position: absolute; top: 1rem; left: 1rem; background: var(--plum); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; padding: .35rem .8rem; border-radius: 999px; }
.hp-body { padding: clamp(1.3rem, 2.4vw, 1.9rem); display: flex; flex-direction: column; flex: 1; }
.hp-body h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.1; color: var(--plum); margin-bottom: .35rem; }
.hp-tag { font-weight: 600; color: var(--ink); margin-bottom: 1rem; }
.hp-inside { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .5rem; }
.hp-items { list-style: none; columns: 2; column-gap: 1.4rem; margin-bottom: 1.4rem; }
.hp-items li { break-inside: avoid; padding: .28rem 0 .28rem 1.1rem; position: relative; font-size: .93rem; color: #3A2C32; }
.hp-items li::before { content: ''; position: absolute; left: 0; top: .78rem; width: 6px; height: 6px; border-radius: 50%; background: var(--turmeric); }
.hp-actions { margin-top: auto; display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.hp-price { font-size: .85rem; color: var(--ink-soft); margin-right: auto; }
.hp-note { text-align: center; color: var(--ink-soft); max-width: 60ch; margin: 0 auto clamp(4rem, 8vw, 6rem); }
.enq { position: fixed; inset: 0; z-index: 8600; display: grid; place-items: center; padding: 1rem; visibility: hidden; }
.enq.open { visibility: visible; }
.enq-bg { position: absolute; inset: 0; background: rgba(43, 19, 32, .55); opacity: 0; transition: opacity .3s; }
.enq.open .enq-bg { opacity: 1; }
.enq-card { position: relative; width: min(560px, 100%); max-height: 94vh; overflow-y: auto; background: #fff; border-radius: 22px; padding: clamp(1.4rem, 3vw, 2.2rem); transform: translateY(20px); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.enq.open .enq-card { transform: none; opacity: 1; }
.enq-card h2 { font-family: var(--serif); font-weight: 700; font-size: 1.8rem; color: var(--plum); line-height: 1.1; }
.enq-card .sub { color: var(--ink-soft); font-size: .92rem; margin: .3rem 0 1.2rem; }
.enq-x { position: absolute; top: .9rem; right: .9rem; width: 38px; height: 38px; border-radius: 50%; background: var(--atta-2); display: grid; place-items: center; }
.enq-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.enq-card select, .enq-card textarea { width: 100%; padding: .85rem 1rem; border: 1.5px solid #E3DED6; border-radius: 12px; font: inherit; font-size: 1rem; outline: none; background: #fff; }
.enq-card textarea { min-height: 90px; resize: vertical; }
.enq-card select:focus, .enq-card textarea:focus { border-color: #0F4B37; box-shadow: 0 0 0 3px rgba(15, 75, 55, .12); }
.enq-msg { font-size: .9rem; color: #2C6B3A; min-height: 1.3em; margin-top: .6rem; }
.enq-done { text-align: center; padding: 1rem 0; }
.enq-done img { width: 64px; margin: 0 auto 1rem; }
@media (max-width: 900px) { .hp-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .hp-items { columns: 1; } .enq-row { grid-template-columns: 1fr; } }

/* =========================================================
   v8: chakki section ("The Goodness Comes Full Circle") + invite popup
   ========================================================= */
.spin2 { position: relative; color: #fff; background: #4a463e url(../img/photos/spin-bg2.jpg) center / cover no-repeat; overflow: hidden; isolation: isolate; padding: clamp(2.4rem, 4.5vw, 4rem) var(--pad) clamp(2.2rem, 4vw, 3.4rem); text-align: center; }
.spin2::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 50%, rgba(20, 16, 10, .25), rgba(20, 16, 10, .5)); }
.spin2-head { max-width: 1000px; margin: 0 auto; }
.spin2-head p { max-width: 62ch; margin: 0 auto; }
.spin2-kick { font-family: var(--sans); font-weight: 600; font-size: clamp(.8rem, 1vw, .95rem); letter-spacing: .3em; text-transform: uppercase; color: #D9A441; margin-bottom: .5rem; }
.spin2-head h2 { font-family: var(--sans); font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 3.2rem); line-height: 1.12; letter-spacing: -.01em; margin-bottom: .6rem; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.spin2-head p { font-family: var(--sans); font-size: clamp(.92rem, 1.15vw, 1.08rem); line-height: 1.55; color: rgba(255, 255, 255, .9); }
.spin2-stage { display: grid; grid-template-columns: 1fr minmax(260px, 34%) 1fr; align-items: center; gap: clamp(1rem, 3vw, 3rem); max-width: 1320px; margin: clamp(1.4rem, 3vw, 2.4rem) auto 0; }
.s2-pt { transition: opacity .9s var(--ease), filter .9s, transform .9s var(--ease); opacity: .12; filter: grayscale(1) blur(2px); transform: translateY(10px) scale(.97); }
.s2-pt.in { opacity: 1; filter: none; transform: none; }
.s2-pt.in img { animation: popin .8s var(--ease); }
.s2-pt img { width: min(76%, 290px); margin: 0 auto .9rem; filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .4)); }
.s2-pt h3 { font-family: var(--sans); font-weight: 600; font-size: clamp(1.25rem, 1.9vw, 1.8rem); line-height: 1.2; text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
.s2-rule { display: flex; align-items: center; justify-content: center; gap: .6rem; margin: .8rem auto; color: #D9A441; width: 72%; }
.s2-rule i { flex: 1; height: 1px; background: rgba(217, 164, 65, .8); }
.s2-rule svg { width: 18px; height: 18px; }
.s2-pt p { font-family: var(--sans); font-size: clamp(.9rem, 1.1vw, 1.04rem); line-height: 1.6; color: rgba(255, 255, 255, .92); max-width: 36ch; margin: 0 auto; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.s2-mill { position: relative; aspect-ratio: 1; }
.s2-arc { position: absolute; inset: -9%; width: 118%; height: 118%; overflow: visible; pointer-events: none; }
.s2-arc path { fill: none; stroke-linecap: round; }
.s2-arc-bg { stroke: rgba(217, 164, 65, .5); stroke-width: .9; }
.s2-arc-fg { stroke: #E2B04F; stroke-width: 1.5; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .15s linear; filter: drop-shadow(0 0 3px rgba(226, 176, 79, .6)); }
.spin2.complete .s2-arc-fg { stroke: #F2CF7A; }
.s2-wheel { position: absolute; inset: 0; border-radius: 50%; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .6)); }
.s2-wheel:active { cursor: grabbing; }
.s2-wheel:focus-visible { outline: 3px solid #E2B04F; outline-offset: 10px; }
.s2-wheel img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.s2-top { will-change: transform; transform-origin: 50% 50%; }
.spin2.pulse .s2-wheel { animation: millpulse .6s var(--ease); }
.s2-hint { position: absolute; left: 50%; bottom: -15%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .5rem; font-family: var(--sans); font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #F2D58A; white-space: nowrap; }
.s2-hint svg { width: 20px; height: 20px; animation: spinhint 2.4s ease-in-out infinite; }
.spin2.complete .s2-hint svg { display: none; }
.spin2-cta { margin-top: clamp(3.2rem, 5vw, 4.2rem); }
.s2-btn { display: inline-flex; align-items: center; gap: 1.1rem; background: #C8923D; color: #fff; font-family: var(--sans); font-weight: 600; font-size: clamp(.95rem, 1.15vw, 1.1rem); letter-spacing: .1em; text-transform: uppercase; padding: 1.05rem 2.6rem; border-radius: 999px; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); transition: background .25s, transform .3s var(--ease); }
.s2-btn svg { width: 22px; height: 22px; transition: transform .3s var(--ease); }
.s2-btn:hover { background: #B07C2E; transform: translateY(-2px); }
.s2-btn:hover svg { transform: translateX(4px); }
@media (max-width: 900px) {
  .spin2-stage { grid-template-columns: 1fr; gap: 2.2rem; }
  .s2-mill { order: -1; width: min(76vw, 380px); margin: 1.2rem auto 2.4rem; }
  .s2-pt { max-width: 460px; margin: 0 auto; }
  .s2-pt img { width: 200px; }
}

/* ---------- invitation popup ---------- */
.invite { position: fixed; inset: 0; z-index: 9100; display: grid; place-items: center; padding: clamp(.8rem, 3vw, 2.5rem); visibility: hidden; }
.invite.open { visibility: visible; }
.invite-bg { position: absolute; inset: 0; background: rgba(40, 22, 16, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.invite.open .invite-bg { opacity: 1; }
.invite-card { position: relative; width: min(1180px, 100%); max-height: 94vh; display: grid; grid-template-columns: 1.16fr 1fr; border-radius: 22px; overflow: hidden; background: #F3EBDD; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); transform: translateY(24px) scale(.98); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
.invite.open .invite-card { transform: none; opacity: 1; }
.invite-img { position: relative; min-height: 100%; }
.invite-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.invite-body { display: flex; flex-direction: column; justify-content: center; text-align: center; padding: clamp(2.4rem, 5vw, 4.6rem) clamp(1.6rem, 3.4vw, 3rem) clamp(1.6rem, 3vw, 2.6rem); overflow-y: auto; background: #F3EBDD url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E"); }
.invite-x { position: absolute; top: 1.1rem; right: 1.2rem; width: 44px; height: 44px; display: grid; place-items: center; color: #2B2420; z-index: 2; transition: transform .3s var(--ease); }
.invite-x svg { width: 30px; height: 30px; }
.invite-x:hover { transform: rotate(90deg); }
.invite-body h2 { font-family: var(--sans); font-weight: 700; text-transform: uppercase; color: #8B1A37; font-size: clamp(2rem, 3.6vw, 3.3rem); line-height: 1.08; letter-spacing: -.005em; }
.inv-rule { display: flex; align-items: center; justify-content: center; gap: .7rem; width: 56%; margin: 1rem auto 1.1rem; color: #8B1A37; }
.inv-rule i { flex: 1; height: 1px; background: #8B1A37; opacity: .7; }
.inv-rule svg { width: 20px; height: 20px; }
.inv-sub { font-family: var(--sans); font-weight: 500; font-size: clamp(1.4rem, 2.2vw, 1.95rem); color: #2B2420; margin-bottom: 1.1rem; }
.inv-kick { font-family: var(--sans); font-weight: 700; text-transform: uppercase; color: #8B1A37; font-size: clamp(.9rem, 1.2vw, 1.12rem); letter-spacing: .02em; margin-bottom: .7rem; }
.inv-text { font-family: var(--sans); font-size: clamp(.92rem, 1.15vw, 1.08rem); line-height: 1.55; color: #4A403A; margin-bottom: .35rem; }
.inv-form { margin-top: 1.4rem; }
.inv-field { display: flex; align-items: center; gap: .8rem; border: 1px solid #6E625A; border-radius: 8px; padding: 0 1.1rem; background: rgba(255, 255, 255, .35); }
.inv-field svg { width: 24px; height: 24px; color: #3A322D; flex: 0 0 auto; }
.inv-field input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-family: var(--sans); font-size: 1.05rem; padding: 1rem 0; color: #2B2420; }
.inv-field:focus-within { border-color: #8B1A37; box-shadow: 0 0 0 3px rgba(139, 26, 55, .12); }
.inv-btn { margin-top: .8rem; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: .9rem; background: #8B1A37; color: #fff; border-radius: 8px; padding: 1.05rem 1rem; font-family: var(--sans); font-weight: 600; font-size: clamp(1rem, 1.3vw, 1.18rem); letter-spacing: .1em; text-transform: uppercase; transition: background .25s; }
.inv-btn svg { width: 24px; height: 24px; transition: transform .3s var(--ease); }
.inv-btn:hover { background: #6E1229; }
.inv-btn:hover svg { transform: translateX(4px); }
.inv-msg { min-height: 1.3em; font-size: .88rem; color: #8B1A37; margin-top: .5rem; }
.inv-feats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(43, 36, 32, .2); margin-top: 1.2rem; padding-top: 1.4rem; }
.inv-feats li { display: flex; align-items: center; gap: .65rem; text-align: left; font-family: var(--sans); font-size: .74rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: #3A322D; line-height: 1.35; padding: 0 .7rem; }
.inv-feats li + li { border-left: 1px solid rgba(43, 36, 32, .2); }
.inv-feats .ic { width: 44px; height: 44px; flex: 0 0 auto; color: #8B1A37; }
.inv-feats .ic svg { width: 100%; height: 100%; }
@media (max-width: 860px) {
  .invite-card { grid-template-columns: 1fr; overflow-y: auto; }
  .invite-img { height: 200px; min-height: 0; }
  .invite-x { background: rgba(243, 235, 221, .9); border-radius: 50%; }
  .invite-body { padding: 1.8rem 1.3rem 1.4rem; overflow: visible; }
  .inv-feats { grid-template-columns: 1fr; gap: .7rem; }
  .inv-feats li + li { border-left: 0; }
}

/* v9: single-line point titles, smaller invitation popup */
.s2-pt h3 { white-space: nowrap; font-size: clamp(1.1rem, 1.75vw, 1.7rem); }
.spin2-stage { grid-template-columns: 1fr minmax(240px, 32%) 1fr; }

.invite-card { width: min(880px, 92vw); max-height: min(620px, 88vh); grid-template-columns: 1.05fr 1fr; border-radius: 18px; }
.invite-body { padding: clamp(1.8rem, 3.2vw, 2.6rem) clamp(1.3rem, 2.6vw, 2.2rem) clamp(1.2rem, 2vw, 1.6rem); }
.invite-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.inv-rule { margin: .7rem auto .8rem; width: 50%; }
.inv-sub { font-size: clamp(1.15rem, 1.6vw, 1.45rem); margin-bottom: .7rem; }
.inv-kick { font-size: clamp(.78rem, .95vw, .9rem); margin-bottom: .5rem; }
.inv-text { font-size: clamp(.84rem, 1vw, .94rem); margin-bottom: .2rem; }
.inv-form { margin-top: 1rem; }
.inv-field input { padding: .75rem 0; font-size: .95rem; }
.inv-field svg { width: 20px; height: 20px; }
.inv-btn { padding: .8rem 1rem; font-size: clamp(.88rem, 1.05vw, 1rem); margin-top: .6rem; }
.inv-btn svg { width: 20px; height: 20px; }
.inv-feats { margin-top: .8rem; padding-top: 1rem; }
.inv-feats li { font-size: .66rem; gap: .5rem; padding: 0 .5rem; }
.inv-feats .ic { width: 36px; height: 36px; }
.invite-x { top: .7rem; right: .8rem; width: 38px; height: 38px; }
.invite-x svg { width: 24px; height: 24px; }
@media (max-width: 860px) {
  .invite-card { width: min(440px, 94vw); max-height: 90vh; }
  .invite-img { height: 150px; }
  .invite-body { padding: 1.4rem 1.1rem 1.1rem; }
  .inv-feats { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .inv-feats li { flex-direction: column; text-align: center; font-size: .6rem; padding: 0 .3rem; }
  .inv-feats li + li { border-left: 1px solid rgba(43, 36, 32, .2); }
}
@media (max-width: 380px) { .s2-pt h3 { white-space: normal; } }
.inv-feats li { padding: 0 .35rem; } .inv-feats li:last-child { padding-right: 0; }
/* popup feature row: let the label wrap inside its cell instead of overflowing/clipping */
.inv-feats li { min-width: 0; }
.inv-feats li > :not(.ic) { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 861px) { .inv-feats { padding-left: .2rem; padding-right: .2rem; } .inv-feats li:last-child { padding-right: .25rem; } }
