/* Multi-page layout: shared parts for the inner pages (page header, cards, forms). Uses the same colours and type as styles.css. */

/* Menu links (pages) styled like the former tab buttons */
.top-tabs a { border-radius: 999px; color: #dbe6eb; padding: 10px 15px; font: 500 12px 'DM Sans', sans-serif; opacity: 1; transition: background .25s ease, color .25s ease; }
.top-tabs a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.top-tabs a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .13); }
@media (max-width: 900px) { .top-tabs a { text-align: left; border-radius: 8px; padding: 13px 15px; } }

/* Inner page header: dark band under the fixed menu */
.page-hero { background: radial-gradient(circle at 85% 0%, #0b3a57 0, var(--ink) 55%); color: #fff; padding: 190px 7vw 96px; }
.page-hero-copy { max-width: 900px; }
.page-hero .eyebrow { color: #95d9ea; }
.page-hero h1 { font: 500 clamp(44px, 6vw, 84px)/.98 Manrope, sans-serif; letter-spacing: -.055em; margin: 0 0 24px; }
.page-lead { color: #c7d4da; font-size: 18px; line-height: 1.65; max-width: 680px; margin: 0; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
@media (max-width: 900px) { .page-hero { padding: 140px 5vw 70px; } .page-lead { font-size: 16px; } }

/* Buttons */
.button.outline { border: 1px solid var(--ink); color: var(--ink); }
.wa-link { display: inline-flex; align-items: center; gap: 8px; }
.wa-link img { width: 16px; height: 16px; flex: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* Shared section rhythm */
.explore, .pack-guide, .sector-grid-wrap, .steps, .buy-pending, .buy-sa, .stock-cta, .profile-band { padding: clamp(80px, 8vw, 120px) 7vw; }
.buy-pending h2, .buy-sa h2, .stock-cta h2, .profile-band h2, .enquiry h2, .expect h2 { font: 500 clamp(34px, 4vw, 56px)/1.05 Manrope, sans-serif; letter-spacing: -.045em; margin: 0 0 16px; }
.buy-pending p:not(.eyebrow), .buy-sa p:not(.eyebrow), .stock-cta p, .profile-band p, .enquiry-copy p:not(.eyebrow) { color: var(--muted); line-height: 1.7; max-width: 640px; }
@media (max-width: 900px) { .explore, .pack-guide, .sector-grid-wrap, .steps, .buy-pending, .buy-sa, .stock-cta, .profile-band { padding: 70px 5vw; } .section-head { display: block; } }

/* Home: three routes */
.explore { background: #fff; }
.explore-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.explore-card { display: flex; flex-direction: column; padding: 36px; border: 1px solid #dfe6ea; border-radius: 4px; background: #f7fafb; transition: transform .25s ease, border-color .25s ease; }
.explore-card:hover { transform: translateY(-4px); border-color: #0033a0; }
.explore-card h3 { font: 600 24px/1.2 Manrope, sans-serif; margin: 14px 0 10px; }
.explore-card p { color: var(--muted); line-height: 1.6; margin: 0 0 28px; }
.explore-card b { margin-top: auto; color: #0033a0; font-size: 14px; }
@media (max-width: 900px) { .explore-grid { grid-template-columns: 1fr; } }

/* Products: pack sizes */
.pack-guide { background: #f4f7f9; }
.pack-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pack-card { background: #fff; border: 1px solid #dfe6ea; border-radius: 4px; padding: 28px 22px; }
.pack-card b { display: block; font: 600 26px Manrope, sans-serif; color: #0033a0; }
.pack-card p { color: var(--muted); line-height: 1.5; margin: 10px 0 0; font-size: 14px; }
@media (max-width: 1000px) { .pack-grid { grid-template-columns: repeat(2, 1fr); } }

/* Wholesale */
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sector-card { border-top: 2px solid #0033a0; padding: 22px 4px 8px; }
.sector-card h3 { font: 600 20px Manrope, sans-serif; margin: 0 0 8px; }
.sector-card p { color: var(--muted); line-height: 1.55; margin: 0; font-size: 15px; }
@media (max-width: 1000px) { .sector-grid { grid-template-columns: repeat(2, 1fr); } }
.expect { background: var(--ink); color: #fff; padding: clamp(80px, 8vw, 120px) 7vw; }
.expect .eyebrow { color: #95d9ea; }
.expect .process { max-width: 900px; }
.expect .process > div { grid-template-columns: 1fr; }
.expect .process small { grid-column: 1; }
@media (max-width: 900px) { .expect { padding: 70px 5vw; } }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step-list li { counter-increment: step; border: 1px solid #dfe6ea; border-radius: 4px; padding: 30px; }
.step-list li::before { content: counter(step); display: block; font: 600 30px Manrope, sans-serif; color: #0033a0; margin-bottom: 18px; }
.step-list b { font: 600 19px Manrope, sans-serif; }
.step-list p { color: var(--muted); line-height: 1.6; margin: 10px 0 0; }
@media (max-width: 900px) { .step-list { grid-template-columns: 1fr; } }

/* Enquiry forms (Wholesale, Contact) */
.enquiry { display: grid; grid-template-columns: 1fr 1.1fr; gap: 8vw; padding: clamp(80px, 8vw, 120px) 7vw; background: #f4f7f9; scroll-margin-top: 98px; }
.enquiry .contact-links a { border-color: #0033a0; color: #0033a0; }
.enquiry .contact-links a:last-child { background: #0033a0; color: #fff; }
.enquiry-copy a:not(.text-link):not(.contact-links a) { color: #0033a0; text-decoration: underline; }
.enquiry .text-link { color: #0033a0; border-bottom-color: #0033a033; }
.enquiry-form { display: grid; gap: 8px; background: #fff; border: 1px solid #dfe6ea; border-radius: 4px; padding: clamp(24px, 3vw, 40px); }
.enquiry-form label { font-size: 13px; font-weight: 600; color: var(--ink); margin-top: 10px; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea { font: 400 15px 'DM Sans', sans-serif; padding: 13px 14px; border: 1px solid #c9d3d8; border-radius: 3px; background: #fff; color: var(--ink); width: 100%; box-sizing: border-box; }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { outline: 2px solid #0033a0; outline-offset: 1px; }
.enquiry-form button { margin-top: 18px; border: 0; cursor: pointer; justify-self: start; }
@media (max-width: 900px) { .enquiry { grid-template-columns: 1fr; padding: 70px 5vw; scroll-margin-top: 78px; } }

/* Where to buy */
.buy-pending { background: #fff; }
.buy-sa { background: #f4f7f9; }
.buy-sa .retailer-note { font-size: 13px; }
.stock-cta { background: #0033a0; color: #fff; }
.stock-cta p { color: #dbe5ff; }
.stock-cta .button.primary { background: #fff; color: #0033a0; }

/* About */
.profile-band { background: #f4f7f9; }

/* Contrast (WCAG AA): small labels on light backgrounds a shade darker */
.eyebrow.blue, .explore-card .eyebrow { color: #006e94; }
.enquiry-copy .eyebrow { color: #0033a0; }
footer small { color: #8696a0; }
.journey span, .retailer-note { color: #5e6a70; }
.vision .eyebrow { color: #065f7e; }

.nav-cta[aria-current="page"] { background: rgba(255, 255, 255, .13); border-color: #fff; }

/* Footer copyright line centred */
footer small { text-align: center; }

/* Partnerships: four logos */
.endorsements .endorsement-logos { grid-template-columns: repeat(2, 1fr); align-items: center; }
.endorsements .endorsement-logos a { display: flex; align-items: center; justify-content: center; min-height: 96px; }
@media (max-width: 900px) { .endorsements .endorsement-logos { grid-template-columns: repeat(2, 1fr); } }

/* Award band (home): royal blue with gold accents */
.award { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr minmax(260px, 460px); gap: 7vw; align-items: center; padding: clamp(90px, 9vw, 140px) 7vw; color: #fff;
  background:
    radial-gradient(circle at 86% 18%, rgba(201, 167, 106, .28) 0, transparent 38%),
    radial-gradient(circle at 8% 92%, rgba(0, 169, 224, .22) 0, transparent 42%),
    linear-gradient(135deg, #0033a0 0%, #06204f 55%, #071b2b 100%); }
.award::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(201, 167, 106, .9) 1.2px, transparent 1.6px), radial-gradient(rgba(255, 255, 255, .7) 1px, transparent 1.4px);
  background-size: 140px 140px, 90px 90px; background-position: 20px 30px, 70px 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%); }
.award > * { position: relative; }
.award-eyebrow { margin: 0 0 22px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #e2c48f; }
.award-rank { margin: 0 0 6px; font: 600 22px Manrope, sans-serif; color: #e2c48f; letter-spacing: -.01em; display: flex; align-items: baseline; gap: 12px; }
.award-rank span { font-size: clamp(84px, 10vw, 140px); line-height: .85; letter-spacing: -.06em; background: linear-gradient(180deg, #f6e2b8 0%, #c9a76a 60%, #a8834a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.award-copy h2 { font: 500 clamp(36px, 4.2vw, 60px)/1.02 Manrope, sans-serif; letter-spacing: -.045em; margin: 18px 0 22px; color: #fff; }
.award-copy p:not(.award-eyebrow):not(.award-rank) { color: #d6e2f5; line-height: 1.7; max-width: 540px; margin: 0; }
.award-tags { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.award-tags li { border: 1px solid rgba(226, 196, 143, .6); color: #f3e2bf; border-radius: 999px; padding: 8px 14px; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.award-media { position: relative; }
.award-media::before { content: ''; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid rgba(226, 196, 143, .65); border-radius: 6px; }
.award-media img { position: relative; width: 100%; height: auto; display: block; border-radius: 6px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .08); }
@media (prefers-reduced-motion: no-preference) { .award-media img { transition: transform .5s ease; } .award-media:hover img { transform: translateY(-4px) rotate(-.4deg); } }
@media (max-width: 900px) { .award { grid-template-columns: 1fr; gap: 48px; padding: 80px 5vw; } .award-media { max-width: 440px; margin-left: 14px; } }

.endorsements .endorsement-logos .lea-logo img { width: 220px; max-width: 100%; max-height: 100px; object-fit: contain; }
.endorsements .endorsement-logos .spedu-on-dark img { width: 200px; max-width: 100%; max-height: 100px; object-fit: contain; }

/* Botswana Consumer Fair logo badge (award section) */
.award-fair-logo { display:inline-flex; align-items:center; justify-content:center; background:#fff; border-radius:14px; padding:10px 12px; margin-bottom:18px; box-shadow:0 0 0 1px rgba(226,196,143,.55), 0 8px 24px rgba(0,0,0,.25); }
.award-fair-logo img { display:block; width:92px; height:auto; }
@media (max-width:640px){ .award-fair-logo img { width:76px; } }

/* Spotlight glow behind the award graphic */
.award-media { isolation: isolate; }
.award-media::after { content: ''; position: absolute; z-index: -1; inset: -55% -50% -30%; pointer-events: none;
  background:
    radial-gradient(42% 40% at 58% 44%, rgba(120, 185, 255, .75), rgba(60, 135, 245, .38) 50%, rgba(30, 90, 220, 0) 100%),
    radial-gradient(34% 4.5% at 50% 83%, rgba(175, 215, 255, .6), rgba(175, 215, 255, 0) 100%);
  filter: blur(10px); }
@media (max-width: 900px) { .award-media::after { inset: -35% -18% -22%; } }

/* Scroll cue: gentle bob */
.hero-foot span { display: inline-flex; align-items: center; gap: 10px; }
.hero-foot span::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); animation: scrollCue 1.8s ease-in-out infinite; }
@keyframes scrollCue { 0%, 100% { transform: translateY(-2px) rotate(45deg); opacity: .55; } 50% { transform: translateY(4px) rotate(45deg); opacity: 1; } }

/* About: journey line as a stamp seal, in the packaging's satin gold */
.story-seal { margin: 0; justify-self: end; width: clamp(160px, 14vw, 200px); margin-right: 2vw; transform: rotate(-8deg); filter: drop-shadow(0 14px 22px rgba(120, 90, 50, .25)); }
.story-seal svg { display: block; width: 100%; height: auto; overflow: visible; }
.seal-ring-text { font: 700 14.5px Manrope, sans-serif; fill: #0033a0; letter-spacing: .08em; }
.seal-small { font: 700 11px Manrope, sans-serif; fill: #0033a0; letter-spacing: .22em; }
@media (prefers-reduced-motion: no-preference) { .story-seal { transition: transform .6s ease; } .story-seal:hover { transform: rotate(-2deg) scale(1.03); } }
@media (max-width: 900px) { .story-seal { justify-self: start; width: 150px; margin-top: 30px; } }

/* LEA interview link (award section) */
.award-video { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; color: #e2c48f; font-size: 15px; font-weight: 600; border-bottom: 1px solid rgba(226, 196, 143, .45); padding-bottom: 6px; transition: color .2s, border-color .2s; }
.award-video svg { width: 22px; height: 22px; flex: none; }
.award-video:hover, .award-video:focus-visible { color: #fff; border-color: #fff; }

/* Seal motion: slow-turning rim text and a passing sheen */
.seal-spin { transform-box: view-box; transform-origin: 150px 150px; animation: sealSpin 40s linear infinite; }
.seal-sheen { animation: sealSheen 6s ease-in-out infinite; }
@keyframes sealSpin { to { transform: rotate(360deg); } }
@keyframes sealSheen { 0%, 55% { transform: rotate(20deg) translateX(0); transform-origin: 150px 150px; } 90%, 100% { transform: rotate(20deg) translateX(540px); transform-origin: 150px 150px; } }
.seal-sheen { transform-box: view-box; transform-origin: 150px 150px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Seal ribbon tails: gentle flutter, as if caught by a breeze */
.seal-tail { transform-box: view-box; animation: tailFlutter 3.2s ease-in-out infinite; }
.seal-tail-l { transform-origin: 127px 256px; }
.seal-tail-r { transform-origin: 173px 256px; animation-delay: -1.6s; }
@keyframes tailFlutter { 0%, 100% { transform: scaleY(1) skewX(0deg); } 50% { transform: scaleY(1.1) skewX(-3deg); } }

/* Whole seal: gentle breathing pulse, in rhythm with the tails */
.story-seal svg { transform-origin: 50% 42%; animation: sealBreathe 3.2s ease-in-out infinite; }
@keyframes sealBreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }
