/* Zorawar UI layer: pill header + Menu overlay, brown "mound" bands, ring seals, brand footer, sections.
   Shared by the business and premium sites (keep the two copies identical). Loads LAST, after style/polish/simple. */

:root {
  --brown: #4a2c14;
  --brown-dark: #2b1809;
  --cream: #f5f2ec;
  --mound-brown: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath fill='%234a2c14' d='M0 100V72Q0 60 8 50L170 8Q200 0 240 0H760Q800 0 830 8L992 50Q1000 60 1000 72V100Z'/%3E%3C/svg%3E");
  --mound-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath fill='%232b1809' d='M0 100V72Q0 60 8 50L170 8Q200 0 240 0H760Q800 0 830 8L992 50Q1000 60 1000 72V100Z'/%3E%3C/svg%3E");
}

/* ============ Header ============ */
.site-header--center .header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px 32px; position: relative; z-index: 91;
}
.site-header--center .header-inner > :first-child { justify-self: start; }
.site-header--center .header-inner > :last-child { justify-self: end; }

.logo--stack { flex-direction: column; gap: 4px; text-align: center; }
.logo--stack .logo-mark { height: 52px; transition: height 0.3s ease; }
.logo--stack .logo-text { font-size: 0.95rem; letter-spacing: 6px; padding-left: 6px; transition: opacity 0.3s ease, height 0.3s ease; }
.site-header--center.scrolled .logo-mark { height: 36px; }
.site-header--center.scrolled .logo-text { opacity: 0; height: 0; overflow: hidden; }

.pill {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 20px;
  font: 600 0.72rem var(--font-body); letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--brown); background: transparent; border: 1px solid var(--brown); border-radius: 999px;
  cursor: pointer; transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.pill:hover { background: var(--brown); color: var(--cream); }
.menu-pill { padding: 0 4px 0 20px; }
.menu-dot {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--brown); color: var(--cream); font-style: normal; font-size: 0.85rem;
  transition: transform 0.4s ease, background 0.25s ease;
}
.menu-pill:hover .menu-dot { background: var(--color-amber); }
.menu-pill[aria-expanded="true"] .menu-dot { transform: rotate(135deg); }

/* ============ Menu overlay ============ */
.menu-overlay {
  position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center;
  background: var(--brown); color: var(--cream);
  clip-path: circle(0 at calc(100% - 60px) 40px); visibility: hidden;
  transition: clip-path 0.7s cubic-bezier(.7,0,.2,1), visibility 0s linear 0.7s;
}
.menu-overlay.is-open { clip-path: circle(150% at calc(100% - 60px) 40px); visibility: visible; transition-delay: 0s; }
.menu-overlay ul { list-style: none; text-align: center; display: grid; gap: clamp(8px, 2.4vh, 22px); }
.menu-overlay a {
  display: inline-block; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 5.5rem); line-height: 1.1; color: var(--cream);
  transition: transform 0.3s ease; border: 0;
}
.menu-overlay a:hover, .menu-overlay a.is-active { font-style: italic; transform: translateX(8px); }
.menu-overlay li { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.menu-overlay.is-open li { opacity: 1; transform: none; transition-delay: calc(0.25s + var(--i, 1) * 0.07s); }
.menu-foot { position: absolute; bottom: 28px; left: 0; right: 0; text-align: center; font-size: 0.8rem; letter-spacing: 1.5px; opacity: 0.75; padding: 0 16px; }
.menu-foot span { margin: 0 10px; }
.menu-foot a { font: inherit; display: inline; margin: 0 10px; color: inherit; transform: none !important; }

.site-header--center.menu-open { background: transparent; box-shadow: none; }
.site-header--center.menu-open .pill { color: var(--cream); border-color: rgba(245,242,236,0.6); }
.site-header--center.menu-open .pill:hover { background: var(--cream); color: var(--brown); }
.site-header--center.menu-open .menu-dot { background: var(--cream); color: var(--brown); }
.site-header--center.menu-open .pill:hover .menu-dot { background: var(--brown); color: var(--cream); }
.site-header--center.menu-open .logo-text { color: var(--cream); opacity: 1; height: auto; }
.site-header--center.menu-open .logo-mark { height: 52px; }

/* ============ Ring text (shared by hero, seals, footer) ============ */
.ring-text { font: 500 40px var(--font-display); fill: var(--cream); letter-spacing: 3px; }
.ring-guide { fill: none; stroke: rgba(245,242,236,0.16); stroke-width: 1.5; }

/* ============ 3D hero (brand-first) ============ */
.brand-intro { justify-content: flex-start; padding: clamp(118px, 17svh, 160px) 24px 0; overflow: hidden; }
.brand-intro .hero-tagline { margin-top: 10px; }
.hero-stage {
  position: absolute; left: 50%; bottom: 0;
  height: clamp(250px, min(54svh, calc(100svh - 360px)), 720px); aspect-ratio: 1000 / 560;
  transform: translateX(-50%); animation: heroRise 1.2s cubic-bezier(.2,.7,.2,1) 1.7s both;
}
.hero-blob { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.hero-blob .blob-fill { fill: var(--brown); }
.hero-emblem {
  position: absolute; left: 50%; top: 45%; width: 14%; transform: translate(-50%, -50%) rotate(-6deg);
  filter: drop-shadow(0 18px 24px rgba(0,0,0,0.45)); animation: heroFloat 6s ease-in-out infinite; pointer-events: none;
}
.hero-stage .intro-cta { position: absolute; left: 0; right: 0; top: 66%; margin: 0; text-align: center; }
.hero-stage .intro-cta .btn { background: var(--cream); color: var(--brown); }
.hero-stage .intro-cta .btn:hover { background: var(--color-amber); color: var(--cream); }
.brand-intro .hero-stage .intro-scroll { bottom: 20px; }
.brand-intro .hero-stage .intro-scroll span { color: rgba(245,242,236,0.8); }
.brand-intro .hero-stage .scroll-bar { background: rgba(245,242,236,0.25); }
@keyframes heroRise { from { opacity: 0; transform: translateX(-50%) translateY(10%); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes heroFloat { 0%,100% { transform: translate(-50%, -50%) rotate(-6deg); } 50% { transform: translate(-50%, -56%) rotate(-3deg); } }

/* ============ Root hero (product-first): label floating on a ring-blob ============ */
.simple-hero { padding-top: clamp(120px, 16svh, 150px); align-items: center; }
.hero-product { position: relative; width: min(100%, 64svh, 560px); aspect-ratio: 1; margin: 0 auto; }
.hero-product .blob-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero-product .blob-fill { fill: var(--brown); }
.hero-product .ring-text { font-size: 34px; }
.hero-label {
  position: absolute; left: 50%; top: 50%; height: 80%; width: auto; max-width: none;
  transform: translate(-50%, -50%) rotate(-5deg);
  filter: drop-shadow(0 26px 30px rgba(0,0,0,0.5)); animation: labelFloat 7s ease-in-out infinite;
}
@keyframes labelFloat { 0%,100% { transform: translate(-50%, -50%) rotate(-5deg); } 50% { transform: translate(-50%, -53%) rotate(-2deg); } }
.simple-hero-image { text-align: center; }

/* ============ Brown mound bands ============ */
.band { position: relative; background: var(--brown); color: var(--cream); margin-top: calc(clamp(46px, 7vw, 110px) + 36px); padding: 40px 24px 90px; }
.band::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: clamp(46px, 7vw, 110px);
  background: var(--mound-brown) center bottom / 100% 100% no-repeat;
}
.band .trust-grid { max-width: 1000px; margin: 0 auto; gap: 56px; }
.band .trust-item { text-align: center; }
.band .trust-icon {
  display: inline-grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%;
  border: 1px solid rgba(245,242,236,0.35); color: var(--cream); font-size: 1.1rem;
  box-shadow: 0 0 0 8px rgba(245,242,236,0.05);
}
.band .trust-item h3 { color: var(--cream); font-size: 1.6rem; font-weight: 500; margin-bottom: 12px; }
.band .trust-item p { color: rgba(245,242,236,0.78); font-size: 0.95rem; line-height: 1.75; }

/* ============ Founder ============ */
.trust-section { border-top: 0; margin-top: clamp(60px, 8vw, 110px); padding-top: 0; }
.trust-section::before { display: none; }
.founder-seal { position: relative; width: 132px; height: 132px; margin: 0 auto 26px; }
.founder-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.founder-seal .seal-fill { fill: var(--brown); }
.founder-seal img { position: absolute; left: 50%; top: 50%; width: 30%; transform: translate(-50%, -50%); }
.founder-body .founder-close {
  background: var(--brown); color: var(--cream); border-radius: 28px; padding: 30px 34px; margin: 38px 0 6px;
  font-size: 1.35rem; line-height: 1.6; text-align: center;
}
.founder-sign { margin-top: 26px; }

/* ============ FAQ ============ */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: 22px; padding: 6px 22px; transition: background 0.25s ease; }
.faq-item[open] { background: #eae5db; }
.faq-item summary { font-family: var(--font-display); font-size: 1.3rem; padding: 14px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; cursor: pointer; }
.faq-item summary::after {
  content: "+"; flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brown); color: var(--cream); font-family: var(--font-body); font-size: 1.1rem; line-height: 1;
  transition: transform 0.35s ease; position: static;
}
.faq-item[open] summary::after { content: "+"; transform: rotate(45deg); }
.faq-item p { padding: 0 0 18px; }

/* ============ Notify (brown band) ============ */
.notify-strip { position: relative; background: var(--brown); color: var(--cream); max-width: none; margin: calc(clamp(46px, 7vw, 110px) + 36px) 0 0; padding: 56px 24px calc(clamp(46px, 7vw, 110px) + 96px); border: 0; }
.notify-strip .notify-inner { max-width: 560px; margin: 0 auto; }
.notify-strip::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: clamp(46px, 7vw, 110px);
  background: var(--mound-brown) center bottom / 100% 100% no-repeat;
}
.notify-eyebrow { color: rgba(245,242,236,0.7); }
.notify-title { color: var(--cream); }
.notify-text { color: rgba(245,242,236,0.78); }
.notify-form input[type="email"] { background: rgba(245,242,236,0.1); border: 1px solid rgba(245,242,236,0.35); color: var(--cream); border-radius: 999px; padding: 15px 22px; }
.notify-form input[type="email"]::placeholder { color: rgba(245,242,236,0.55); }
.notify-form input[type="email"]:focus { outline: none; border-color: var(--cream); background: rgba(245,242,236,0.16); }
.notify-form .btn { background: var(--cream); color: var(--brown); border-radius: 999px; padding: 15px 30px; }
.notify-form .btn:hover { background: var(--color-amber); color: var(--cream); }
.notify-status { color: rgba(245,242,236,0.85); }
.notify-status.is-error { color: #f5b8a9; }

/* ============ Footer ============ */
.site-footer--brand { position: relative; background: var(--brown-dark); color: var(--cream); margin-top: clamp(60px, 8vw, 120px); padding: 0 24px 56px; text-align: center; border: 0; }
.site-footer--brand::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: clamp(46px, 7vw, 110px);
  background: var(--mound-dark) center bottom / 100% 100% no-repeat;
}
.notify-strip + .site-footer--brand { margin-top: 0; }
.footer-seal { position: relative; width: 190px; height: 190px; margin: -95px auto 18px; }
.footer-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.footer-seal .seal-fill { fill: var(--brown-dark); stroke: rgba(245,242,236,0.18); stroke-width: 2; }
.footer-seal img { position: absolute; left: 50%; top: 50%; width: 28%; transform: translate(-50%, -50%); filter: drop-shadow(0 8px 12px rgba(0,0,0,0.5)); }
.site-footer--brand .footer-inner { max-width: 640px; margin: 0 auto; }
.site-footer--brand .footer-script { font-family: var(--font-script); font-size: 2.2rem; line-height: 1.1; color: var(--cream); margin-bottom: 10px; }
.site-footer--brand .footer-text { color: rgba(245,242,236,0.72); font-size: 0.95rem; line-height: 1.7; max-width: 440px; margin: 0 auto 26px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 26px; }
.footer-nav a { padding: 9px 20px; border: 1px solid rgba(245,242,236,0.3); border-radius: 999px; font-size: 0.72rem; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--cream); transition: background 0.25s, color 0.25s; }
.footer-nav a:hover { background: var(--cream); color: var(--brown-dark); }
.site-footer--brand .footer-email { margin-bottom: 6px; }
.site-footer--brand .footer-email a { color: var(--cream); font-size: 0.9rem; border-bottom: 1px solid transparent; }
.site-footer--brand .footer-email a:hover { border-color: var(--cream); }
.site-footer--brand .footer-address { color: rgba(245,242,236,0.6); margin-bottom: 26px; }
.site-footer--brand .footer-tagline { margin-bottom: 6px; }
.site-footer--brand .footer-tagline a { color: rgba(245,242,236,0.7); }
.site-footer--brand .footer-copy { color: rgba(245,242,236,0.45); }

/* ============ Page heroes (About / Contact) ============ */
.page-hero { padding-bottom: calc(clamp(46px, 7vw, 110px) + 48px); }
.shop-page { padding-bottom: calc(clamp(46px, 7vw, 110px) + 24px); }
.page-hero .page-seal { position: relative; width: 120px; height: 120px; margin: 0 auto 20px; }
.page-hero .page-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero .page-seal .seal-fill { fill: var(--brown); }
.page-hero .page-seal img { position: absolute; left: 50%; top: 50%; width: 30%; transform: translate(-50%, -50%); }
.page-hero-text.about-lede { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.55; color: var(--color-ink); }
.page-hero-text.about-close { background: var(--brown); color: var(--cream); border-radius: 28px; padding: 28px 32px; font-family: var(--font-display); font-style: italic; font-size: 1.3rem; line-height: 1.6; margin-top: 28px; }
.about-cta { margin-top: 30px; }
.contact-cards .contact-card { border-radius: 24px; background: var(--color-bg-alt); transition: background 0.25s ease, transform 0.25s ease; }
.contact-cards .contact-card:hover { background: var(--brown); transform: translateY(-3px); }
.contact-cards .contact-card:hover .contact-card-label { color: rgba(245,242,236,0.7); }
.contact-cards .contact-card:hover a, .contact-cards .contact-card:hover .contact-card-text { color: var(--cream); }

/* ============ Sticky mobile CTA ============ */
.sticky-cta { background: var(--brown) !important; color: var(--cream) !important; }
.sticky-cta .btn { background: var(--cream) !important; color: var(--brown) !important; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .site-header--center .header-inner { padding: 12px 16px; }
  .pill { padding: 0 14px; min-height: 38px; font-size: 0.66rem; letter-spacing: 1.2px; }
  .menu-pill { padding: 0 3px 0 14px; }
  .menu-dot { width: 30px; height: 30px; }
  .logo--stack .logo-mark { height: 40px; }
  .logo--stack .logo-text { font-size: 0.8rem; letter-spacing: 4px; padding-left: 4px; }
  .hero-stage { height: clamp(250px, min(58svh, calc(100svh - 330px)), 720px); }
  .hero-emblem { width: 14%; top: 45%; }
  .hero-stage .intro-cta { top: 66%; }
  .hero-stage .intro-cta .btn { width: auto; max-width: none; }
  .simple-hero { padding-top: 100px; }
  .hero-product { width: min(92%, 46svh, 460px); }
  .band { padding: 24px 24px 70px; }
  .band .trust-grid { gap: 44px; }
  .footer-seal { width: 150px; height: 150px; margin-top: -75px; }
  .site-footer--brand { padding: 0 24px calc(100px + env(safe-area-inset-bottom)); }
  .faq-item { padding: 4px 18px; border-radius: 20px; }
  .faq-item summary { font-size: 1.15rem; }
  .founder-body .founder-close { padding: 24px 22px; font-size: 1.2rem; border-radius: 24px; }
  .page-hero-text.about-lede { font-size: 1.25rem; }
  .page-hero-text.about-close { padding: 22px 22px; font-size: 1.15rem; }
}
@media (max-width: 900px) and (max-height: 640px) { .hero-emblem { display: none; } }
@media (max-width: 700px) and (max-height: 760px) { .simple-hero-text { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-stage, .hero-emblem, .hero-label { animation: none; }
  .menu-overlay, .menu-overlay li { transition-duration: 0.01s; transition-delay: 0s; }
}

/* ============ About photo (arch frame, echoes the label) ============ */
.about-photo { margin: 38px auto 8px; width: 100%; max-width: 440px; border-radius: 220px 220px 28px 28px; overflow: hidden; box-shadow: 0 26px 50px rgba(43,24,9,0.28); background: var(--brown); }
.about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 900px) { .about-photo { max-width: 340px; border-radius: 170px 170px 24px 24px; } }
