/* =========================================================================
   ANARANYA — brand gateway (anaranya.com)
   Independent of the customer store (/shop/) and the business site (/wholesale/).
   Fonts are shared from /wholesale/assets/fonts (public).
   ========================================================================= */
@font-face { font-family: "Outfit"; src: url("/wholesale/assets/fonts/outfit-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/wholesale/assets/fonts/outfit-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/wholesale/assets/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/wholesale/assets/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --burgundy: #831717; --wine: #4D1016; --ivory: #FCF7EE; --sand: #E8DCCB; --green: #536B4B; --gold: #B89A66;
  --ink: #2A1A1B; --ink-soft: #5E4A47; --line: rgba(77, 16, 22, 0.14);
  /* Allrounder is the brand heading font; Cormorant Garamond stands in until the font file is supplied */
  --display: "Allrounder", "Cormorant Garamond", Georgia, serif;
  --ui: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --wrap: min(1240px, 100% - clamp(40px, 8vw, 96px));
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--ui); color: var(--ink); background: var(--ivory); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 1.05; text-wrap: balance; }
em { font-style: italic; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--wine); color: var(--ivory); padding: 10px 16px; }
.skip:focus { left: 8px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--green); }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 28px; border-radius: 2px; text-decoration: none;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.btn--ivory { background: var(--ivory); color: var(--wine); }
.btn--ivory:hover { background: #fff; }
.btn--gold { background: var(--gold); color: var(--wine); }
.btn--gold:hover { background: #C9AE7F; }
.btn--wine { background: var(--burgundy); color: var(--ivory); }
.btn--wine:hover { background: var(--wine); }

/* ---- header ------------------------------------------------------------ */
.top { position: relative; z-index: 20; background: var(--ivory); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.top__logo img { height: 56px; width: auto; mix-blend-mode: multiply; }
.top nav ul { display: flex; gap: clamp(16px, 2.6vw, 34px); margin: 0; padding: 0; list-style: none; }
.top nav a { font-size: 0.76rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--wine); padding: 8px 0; border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.top nav a:hover { border-color: var(--gold); }
@media (max-width: 760px) {
  .top__in { min-height: 70px; }
  .top__logo img { height: 44px; }
  .top nav li:not(.keep) { display: none; }
}

/* ---- hero: two audience panels ----------------------------------------- */
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--wine); }
.panel { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(88svh, 860px); overflow: hidden; color: var(--ivory); text-decoration: none; }
.panel__img { position: absolute; inset: 0; z-index: -2; }
.panel__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease); }
.panel:hover .panel__img img { transform: scale(1.06); }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(42, 10, 13, 0) 30%, rgba(42, 10, 13, 0.55) 62%, rgba(42, 10, 13, 0.88) 100%); }
.panel--business::after { background: linear-gradient(180deg, rgba(42, 10, 13, 0.05) 25%, rgba(42, 10, 13, 0.6) 60%, rgba(42, 10, 13, 0.92) 100%); }
.panel__copy { padding: clamp(32px, 5vw, 72px); max-width: 640px; }
.panel__tag { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sand); }
.panel__tag::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.panel h2 { font-size: clamp(2.3rem, 4.4vw, 4rem); margin-bottom: 16px; color: var(--ivory); }
.panel h2 em { color: #E2CFA4; }
.panel p { margin: 0 0 28px; font-size: 1.05rem; color: rgba(252, 247, 238, 0.88); max-width: 34em; }
.panel .btn::after { content: ""; position: absolute; inset: 0; }   /* whole panel is the link target */
.panel + .panel { border-left: 1px solid rgba(184, 154, 102, 0.45); }
.panels__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 860px) {
  .panels { grid-template-columns: 1fr; }
  .panel { min-height: 82svh; }
  .panel + .panel { border-left: 0; border-top: 1px solid rgba(184, 154, 102, 0.45); }
  .panel .btn { width: 100%; }
}

/* ---- sections ----------------------------------------------------------- */
.section { padding: clamp(72px, 10vw, 132px) 0; }
.display { font-size: clamp(2.2rem, 4.4vw, 3.8rem); color: var(--wine); }
.display em { color: var(--burgundy); }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.2rem); color: var(--ink-soft); }

.intro__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.intro__art { position: relative; background: var(--wine); aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; border-radius: 240px 240px 2px 2px; }
.intro__art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(131, 23, 23, 0.9), transparent 70%); }
.intro__art img { position: relative; width: 52%; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.35)); }
.intro__copy .display { margin-bottom: 22px; }
.intro__copy p { margin: 0 0 18px; }
.intro__pillars { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 28px 0 0; padding: 0; list-style: none; font-family: var(--display); font-style: italic; font-size: 1.35rem; color: var(--green); }
@media (max-width: 860px) { .intro__grid { grid-template-columns: 1fr; } .intro__art { max-width: 420px; } }

.cats { background: var(--sand); }
.cats__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(32px, 4vw, 52px); }
.cats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); margin: 0; padding: 0; list-style: none; }
.cat a { display: block; text-decoration: none; background: var(--ivory); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.cat a:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(77, 16, 22, 0.12); }
.cat__img { background: #fff; aspect-ratio: 1; }
.cat__img img { width: 100%; height: 100%; object-fit: contain; }
.cat__txt { padding: 20px 20px 22px; }
.cat h3 { font-size: 1.7rem; color: var(--wine); margin-bottom: 6px; }
.cat p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }
.cats__cta { margin-top: clamp(32px, 4vw, 48px); text-align: center; }
@media (max-width: 960px) { .cats__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .cat__txt { padding: 14px; } .cat h3 { font-size: 1.35rem; } .cat p { font-size: 0.84rem; } }

.biz { background: var(--wine); color: var(--ivory); position: relative; overflow: hidden; }
.biz::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 85% 10%, rgba(131, 23, 23, 0.85), transparent 70%); }
.biz .wrap { position: relative; }
.biz .eyebrow { color: var(--gold); }
.biz .display { color: var(--ivory); max-width: 18ch; }
.biz .display em { color: #E2CFA4; }
.biz__lead { max-width: 52ch; margin: 22px 0 clamp(40px, 5vw, 64px); color: rgba(252, 247, 238, 0.84); font-size: 1.08rem; }
.biz__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: svc; border-top: 1px solid rgba(184, 154, 102, 0.35); }
.biz__grid li { counter-increment: svc; padding: 30px clamp(18px, 2.4vw, 32px) 34px 0; border-bottom: 1px solid rgba(184, 154, 102, 0.35); }
.biz__grid li::before { content: counter(svc, decimal-leading-zero); display: block; margin-bottom: 14px; font-family: var(--display); font-style: italic; font-size: 1.6rem; color: var(--gold); }
.biz__grid h3 { font-size: 1.6rem; margin-bottom: 8px; color: var(--ivory); }
.biz__grid p { margin: 0; color: rgba(252, 247, 238, 0.78); font-size: 0.96rem; }
.biz__note { margin: 28px 0 0; font-size: 0.86rem; color: rgba(252, 247, 238, 0.7); max-width: 70ch; }
.biz__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 960px) { .biz__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .biz__grid { grid-template-columns: 1fr; } .biz__grid li { padding-right: 0; } .biz__cta .btn { width: 100%; } }

/* ---- footer ------------------------------------------------------------- */
.foot { background: var(--sand); padding: 56px 0 28px; font-size: 0.92rem; color: var(--ink-soft); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot__logo { height: 52px; width: auto; mix-blend-mode: multiply; margin-bottom: 14px; }
.foot h2 { font-family: var(--ui); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wine); margin-bottom: 12px; }
.foot ul { margin: 0; padding: 0; list-style: none; }
.foot li { margin-bottom: 8px; }
.foot a { color: var(--burgundy); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 0.82rem; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; } .foot { padding-bottom: calc(28px + 64px + env(safe-area-inset-bottom, 0px)); } }

/* ---- WhatsApp float ----------------------------------------------------- */
.wa-float { position: fixed; z-index: 900; right: calc(24px + env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.28), 0 2px 6px rgba(77, 16, 22, 0.18); transition: transform .3s var(--ease); }
.wa-float:hover { transform: translateY(-3px) scale(1.05); }
.wa-float__tip { position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--wine); color: var(--ivory);
  border: 1px solid var(--gold); padding: 8px 12px; font-size: 0.8rem; border-radius: 2px; opacity: 0; pointer-events: none; transition: opacity .25s var(--ease); }
.wa-float:hover .wa-float__tip, .wa-float:focus-visible .wa-float__tip { opacity: 1; }
@media (max-width: 760px) { .wa-float { width: 54px; height: 54px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); } .wa-float__tip { display: none; } }

/* ---- motion ------------------------------------------------------------- */
.panel__copy > * { opacity: 0; transform: translateY(18px); animation: rise 1s var(--ease) forwards; }
.panel__copy > *:nth-child(2) { animation-delay: .08s; } .panel__copy > *:nth-child(3) { animation-delay: .16s; } .panel__copy > *:nth-child(4) { animation-delay: .24s; }
.panel--business .panel__copy > * { animation-delay: .18s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .panel__copy > *, .js .reveal { animation: none; opacity: 1; transform: none; transition: none; }
  .panel__img img { transition: none; }
}

/* Photo crops — keep faces in frame at every panel shape */
.panel--customer .panel__img img { object-position: 36% 30%; }
.panel--business .panel__img img { object-position: 37% 35%; }

/* About arch: gold logo at a proper size, centred (the <picture> wrapper was shrinking it) */
.intro__art { width: 100%; max-width: 440px; justify-self: center; }
.intro__art picture { display: contents; }
.intro__art img { position: relative; width: auto; height: auto; max-width: 62%; max-height: 74%; object-fit: contain; margin-top: 4%; }
@media (max-width: 860px) { .intro__art { max-width: 360px; } }
