/* Sands Africa Commerce — main stylesheet */
:root {
	--forest: #155235; --forest-deep: #0C3322; --forest-ink: #082418;
	--gold: #B98A2C; --gold-light: #D9B25E; --gold-pale: #F6EEDC;
	--ink: #25282C; --slate: #5E6670; --line: #E3E5E8; --cloud: #F3F4F6; --white: #fff;
	--font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
	--font-body: "Manrope", "Segoe UI", Helvetica, Arial, sans-serif;
	--wrap: 1280px; --wrap-narrow: 760px;
	--gutter: clamp(1.25rem, 4vw, 2.5rem); --section: clamp(3.5rem, 8vw, 6.5rem);
	--step-1: 1.125rem; --step-2: 1.35rem;
	--step-3: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem);
	--step-4: clamp(2rem, 1.5rem + 2.4vw, 3.2rem);
	--step-5: clamp(2.5rem, 1.6rem + 4vw, 4.6rem);
	--radius: 6px; --radius-lg: 12px; --ease: cubic-bezier(.2,.7,.2,1);
	--shadow: 0 10px 30px rgba(12,51,34,.08);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: .18em; }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -.012em; margin: 0 0 .5em; color: var(--forest-deep); text-wrap: balance; }
h1 { font-size: var(--step-5); } h2 { font-size: var(--step-4); } h3 { font-size: var(--step-2); }
p { margin: 0 0 1.25em; } ul, ol { margin: 0 0 1.25em; padding-left: 1.25em; } address { font-style: normal; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--forest); color: #fff; padding: .75rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(var(--wrap-narrow), 100% - 2 * var(--gutter)); }
.kicker { font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: .75rem; }
.kicker--light { color: var(--gold-light); }
.icon { width: 22px; height: 22px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem 1.6rem; font-family: var(--font-body); font-weight: 700; font-size: .95rem; line-height: 1; border: 1.5px solid transparent; border-radius: var(--radius); text-decoration: none; cursor: pointer; transition: background .18s var(--ease), color .18s, border-color .18s, transform .18s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--forest); color: #fff; border-color: var(--forest); }
.btn--primary:hover { background: var(--forest-deep); border-color: var(--forest-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--forest-deep); border-color: var(--forest-deep); }
.btn--ghost:hover { background: var(--forest-deep); color: #fff; }
.btn--gold { background: var(--gold); color: var(--forest-ink); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--forest-ink); }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.link-arrow::after { content: ""; width: .55em; height: .55em; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .18s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px) rotate(45deg); }
.link-arrow--light { color: var(--gold-light); }

/* Announcement + header */
.announce { background: var(--forest-deep); color: #fff; font-size: .85rem; font-weight: 600; text-align: center; }
.announce p { margin: 0; padding: .45rem 0; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(12,51,34,.08); }
.site-header__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(1rem, 3vw, 3rem); min-height: 88px; }
.brand img { width: auto; height: 76px; }
.site-search { display: flex; max-width: 560px; width: 100%; margin-inline: auto; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--cloud); transition: border-color .18s, background .18s; }
.site-search:focus-within { border-color: var(--forest); background: #fff; }
.site-search input { flex: 1; border: 0; background: transparent; padding: .7rem 1.2rem; font: inherit; min-width: 0; }
.site-search input:focus { outline: none; }
.site-search button { border: 0; background: var(--forest); color: #fff; padding: 0 1.1rem; cursor: pointer; display: flex; align-items: center; }
.site-search button:hover { background: var(--gold); }
.site-utils { display: flex; align-items: center; gap: .5rem; }
.util { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--forest-deep); text-decoration: none; }
.util:hover { background: var(--cloud); color: var(--forest); }
.util__count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: var(--forest-ink); font-size: .7rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.site-nav { border-top: 1px solid var(--line); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }
.site-nav li { position: relative; }
.site-nav a { font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--ink); padding: .8rem 0; display: inline-block; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--forest); border-bottom-color: var(--gold); }
.site-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border: 1px solid var(--line); padding: .5rem 0; display: none; box-shadow: var(--shadow); z-index: 5; }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { display: block; }
.site-nav .sub-menu a { padding: .55rem 1rem; border: 0; width: 100%; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 7px; }
.nav-toggle__bar { display: block; height: 2px; background: var(--forest-deep); transition: transform .25s var(--ease); }
.nav-open .nav-toggle__bar:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-open .nav-toggle__bar:last-child { transform: translateY(-4.5px) rotate(-45deg); }
@media (max-width: 960px) {
	.site-header__inner { grid-template-columns: auto 1fr auto; grid-template-areas: "brand . utils" "search search search"; row-gap: .5rem; padding-bottom: .75rem; min-height: 0; padding-top: .5rem; }
	.brand { grid-area: brand; } .site-search { grid-area: search; max-width: none; } .site-utils { grid-area: utils; }
	.brand img { height: 56px; }
	.nav-toggle { display: flex; }
	.site-nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: #fff; padding: 5rem var(--gutter) 2rem; transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; box-shadow: -10px 0 30px rgba(0,0,0,.12); z-index: 60; border: 0; }
	.nav-open .site-nav { transform: none; } .nav-open { overflow: hidden; }
	.nav-open .nav-toggle { position: fixed; top: 1rem; right: 1rem; z-index: 61; }
	.site-nav ul { flex-direction: column; gap: 0; }
	.site-nav li { border-bottom: 1px solid var(--line); }
	.site-nav a { display: block; padding: 1rem 0; font-size: 1.1rem; border: 0; }
	.site-nav .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 .5rem 1rem; }
}

/* Hero */
.hero { background: linear-gradient(135deg, #fff 0%, var(--gold-pale) 100%); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); padding-block: clamp(3rem, 7vw, 6rem); }
.hero__title { max-width: 15ch; margin-bottom: 1.25rem; }
.hero__text { font-size: var(--step-1); color: var(--slate); max-width: 52ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__art img { max-width: 460px; margin-inline: auto; filter: drop-shadow(0 30px 40px rgba(12,51,34,.2)); animation: float 9s ease-in-out infinite; }
.hero__art--photo img { max-width: none; width: 100%; border-radius: var(--radius-lg); filter: none; animation: none; box-shadow: var(--shadow); }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 860px) { .hero__inner { grid-template-columns: 1fr; } .hero__art { order: -1; } .hero__art img { max-width: 240px; } }

/* Trust strip */
.trust { border-bottom: 1px solid var(--line); }
.trust__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__list li { display: flex; align-items: center; gap: .75rem; padding: 1.1rem 1.5rem 1.1rem 0; font-weight: 700; font-size: .92rem; color: var(--forest-deep); }
.trust__list li + li { border-left: 1px solid var(--line); padding-left: 1.5rem; }
.trust__list .icon { color: var(--gold); flex: 0 0 auto; }
@media (max-width: 860px) { .trust__list { grid-template-columns: 1fr 1fr; } .trust__list li:nth-child(3) { border-left: 0; padding-left: 0; } .trust__list li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .trust__list { grid-template-columns: 1fr; } .trust__list li { border-left: 0 !important; padding-left: 0 !important; } .trust__list li + li { border-top: 1px solid var(--line); } }

/* Sections */
.section { padding-block: var(--section); }
.section--tint { background: var(--cloud); }
.section__head { max-width: 64ch; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.section__title { margin-bottom: .25rem; }
.section__lede { font-size: var(--step-1); color: var(--slate); margin: 0 0 1.5rem; }

/* Category tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.tile { position: relative; display: block; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: #fff; background: var(--forest); box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(12,51,34,.16); color: #fff; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,36,24,0) 30%, rgba(8,36,24,.85) 100%); }
.tile__body { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.4rem; z-index: 1; display: flex; flex-direction: column; gap: .2rem; }
.tile__name { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.1; }
.tile__meta { font-size: .9rem; color: rgba(255,255,255,.8); }
.tile--a { background: linear-gradient(160deg, #1C6A45, #0C3322); }
.tile--b { background: linear-gradient(160deg, #B98A2C, #7A5A17); }
.tile--c { background: linear-gradient(160deg, #2B3A33, #0F1A15); }
.tile--d { background: linear-gradient(160deg, #3E7A5C, #155235); }
.tile--e { background: linear-gradient(160deg, #8C6A25, #4E3A11); }
.tile--f { background: linear-gradient(160deg, #1B4D3A, #0C3322); }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } .tile { aspect-ratio: 16/9; } }

/* Why */
.section--why { background: var(--forest-deep); color: #fff; }
.section--why .section__title { color: #fff; }
.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.why__text { color: rgba(255,255,255,.8); font-size: var(--step-1); max-width: 44ch; }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 3rem; }
.why__list li { border-top: 1px solid rgba(255,255,255,.22); padding-top: 1rem; }
.why__list h3 { color: var(--gold-light); }
.why__list p { margin: 0; color: rgba(255,255,255,.8); }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .why__list { grid-template-columns: 1fr; } }

/* Suppliers */
.supplier { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid var(--line); padding-top: 1rem; }
.steps h3 { display: flex; align-items: baseline; gap: .75rem; font-size: var(--step-2); margin-bottom: .25rem; }
.steps h3::before { content: counter(s, decimal-leading-zero); font-family: var(--font-body); font-size: .8rem; font-weight: 800; color: var(--gold); }
.steps p { margin: 0; color: var(--slate); }
.supplier__form, .contact__form { background: #fff; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
@media (max-width: 860px) { .supplier { grid-template-columns: 1fr; } }

/* Forms */
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-weight: 700; font-size: .88rem; color: var(--forest-deep); }
.field input, .field select, .field textarea { font: inherit; padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%; transition: border-color .18s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest); outline: none; box-shadow: 0 0 0 3px rgba(21,82,53,.14); }
.field--submit { margin: .5rem 0 0; }
.hp { position: absolute; left: -9999px; }
.form-notice { padding: .9rem 1.1rem; border-radius: var(--radius); font-weight: 600; margin-bottom: 1.5rem; }
.form-notice--ok { background: #E7F4EB; color: #155F2B; }
.form-notice--error { background: #FBE9E6; color: #8A2323; }
@media (max-width: 520px) { .field-grid { grid-template-columns: 1fr; } }

/* Newsletter */
.newsletter { background: var(--gold-pale); border-top: 1px solid var(--line); }
.newsletter__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding-block: clamp(2.5rem, 5vw, 4rem); }
.newsletter__title { margin-bottom: .25rem; font-size: var(--step-3); }
.newsletter__text { margin: 0; color: var(--slate); }
.newsletter__form { display: flex; gap: .5rem; }
.newsletter__form input { flex: 1; font: inherit; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; min-width: 0; }
.newsletter__form input:focus { border-color: var(--forest); outline: none; }
@media (max-width: 760px) { .newsletter__inner { grid-template-columns: 1fr; } }

/* Pages */
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-head__title { max-width: 20ch; margin-bottom: .75rem; }
.page-head__lede { font-size: var(--step-1); color: var(--slate); max-width: 58ch; margin: 0; }
.entry__content { font-size: 1.06rem; line-height: 1.7; }
.entry__content > * { max-width: 68ch; }
.entry__content h2 { margin-top: 2rem; font-size: var(--step-3); }
.about { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about__mark { margin: 0; position: sticky; top: 160px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__mark { position: static; max-width: 320px; } }
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact__details { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.5rem; font-weight: 600; }
.contact__side h2 { font-size: var(--step-2); margin-top: 1.5rem; } .contact__side h2:first-child { margin-top: 0; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.card__link { text-decoration: none; color: inherit; display: block; }
.card__media { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1rem; }
.card__title { font-size: var(--step-2); }
.card__excerpt { color: var(--slate); margin: 0; }
@media (max-width: 860px) { .posts { grid-template-columns: 1fr 1fr; } } @media (max-width: 520px) { .posts { grid-template-columns: 1fr; } }
.pagination .nav-links { display: flex; gap: .5rem; justify-content: center; margin-top: 3rem; }
.pagination .page-numbers { padding: .5rem .9rem; border: 1px solid var(--line); text-decoration: none; border-radius: var(--radius); }
.pagination .current { background: var(--forest); color: #fff; border-color: var(--forest); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Footer */
.site-footer { background: var(--forest-ink); color: rgba(255,255,255,.82); padding-top: clamp(3rem, 6vw, 5rem); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.brand--footer { display: inline-block; background: #fff; padding: .6rem .9rem; border-radius: var(--radius); }
.brand--footer img { height: 72px; }
.site-footer__heading { font-family: var(--font-body); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col li { margin-bottom: .55rem; }
.site-footer__contact { display: flex; flex-direction: column; gap: .35rem; margin-top: 1.25rem; font-size: .92rem; color: rgba(255,255,255,.7); }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding: 1.5rem 0 2rem; font-size: .92rem; color: rgba(255,255,255,.8); }
.site-footer__legal { display: flex; align-items: center; gap: 1rem; }
.site-footer__legal p { margin: 0; }
.site-footer__legal img { width: 64px; height: auto; flex: 0 0 auto; background: #fff; border-radius: 50%; padding: 3px; }
.legal-menu { display: flex; gap: 1.5rem; }
@media (max-width: 900px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__top { grid-template-columns: 1fr; gap: 2rem; } }
