:root {
  --bg: #f5f1e8;
  --panel: #eee5d5;
  --panel-light: #e4e5d8;
  --text: #29352c;
  --muted: #56594d;
  --accent: #4c6048;
  --clay: #934c32;
  --link: #40573d;
  --line: #c6c7b7;
  --shadow: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}
img { width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(18px, 5vw, 72px);
  background: var(--bg);
  border-bottom: 1px solid var(--line);

}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .04em; }
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fffdf7;
  background: var(--clay);

}
.nav { display: flex; gap: 24px; color: var(--muted); font-size: 14px; }
.nav a:hover { color: var(--text); }

.hero {
  position: relative;
  display: grid;
  align-items: center;
  padding: 128px clamp(18px, 5vw, 72px) 52px;
  background:
    linear-gradient(110deg, rgba(245,241,232,.96), rgba(245,241,232,.88)),
    url('assets/hero.svg') center/cover no-repeat;
}
.hero-content { max-width: 840px; position: relative; z-index: 1; }
.eyebrow, .section-kicker {
  color: var(--clay);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 800;
}
h1 { font-size: clamp(42px, 7vw, 84px); line-height: .95; margin: 14px 0 24px; }
h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1; margin: 0; }
h3 { font-size: 24px; margin: 18px 0 10px; }
p { color: var(--muted); line-height: 1.7; }
.hero-copy { max-width: 680px; font-size: 19px; margin-bottom: 0; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 14px 22px;
  font-weight: 800;
  border: 1px solid var(--line);
  transition: transform .2s ease, background .2s ease;
}
.button:hover { background: var(--panel-light); }
.primary:hover { background: #3d503a; }
.primary { background: var(--accent); color: #fffdf7; border-color: var(--accent); }
.secondary { background: var(--bg); color: var(--text); }
.ghost { background: transparent; color: var(--link); }
.full { width: 100%; }

.section-pad { padding: 64px clamp(18px, 5vw, 72px); }
.why, .contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.cards > .card { flex: 0 1 calc((100% - 44px) / 3); min-width: 0; }
.card, .contact-panel, .why-list div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.card { padding: 34px; }
.card-icon { font-size: 38px; }

.section-head { max-width: 820px; margin-bottom: 34px; }
.gallery-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-color: var(--accent) var(--panel);
  padding: 8px 0 16px;
  gap: 18px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.gallery-item img { height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 10px 12px;
  border-radius: 6px;
  background: #f5f1e8;
  color: var(--text);
  font-size: 14px;

}


.why-list { display: grid; gap: 16px; }
.why-list div { padding: 24px; display: grid; gap: 8px; }
.why-list span { color: var(--muted); line-height: 1.5; }
.contact-panel { padding: 24px; display: grid; gap: 14px; }
.footer { padding: 30px clamp(18px, 5vw, 72px); border-top: 1px solid var(--line); color: var(--muted); }

@media (max-width: 860px) {
  .nav { display: none; }
  .why, .contact { grid-template-columns: 1fr; }
  .cards > .card { flex-basis: 100%; }
  .gallery-grid { grid-auto-columns: 80%; }
}

/* Contact controls and responsive navigation. */
[hidden] { display: none !important; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; }
.button { min-height: 50px; font-size: 16px; text-align: center; line-height: 1.4; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 5px;
}
section[id], #top { scroll-margin-top: 110px; }
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 100;
  padding: 14px 20px; background: var(--link); color: var(--bg);
  border-radius: 8px; transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.brand-mark { flex-shrink: 0; }
.brand-text { overflow-wrap: anywhere; }
.nav { align-items: center; }
.contact { align-items: start; }
.contact-copy { padding-top: 14px; }
.contact-copy h2 { max-width: 650px; line-height: 1.04; }
.contact-hint { max-width: 520px; }
.contact-panel { min-width: 0; gap: 12px; }
.panel-heading { margin: 0 0 6px; color: var(--text); font-size: 20px; font-weight: 750; }
.contact-help { margin: 4px 0 0; font-size: 13px; line-height: 1.65; text-align: center; }
.contact-detail {
  border-top: 1px solid var(--line); padding-top: 18px; margin-top: 4px;
}
.detail-label { margin: 0 0 4px; font-size: 12px; color: var(--muted); }
.detail-value {
  margin: 0; font-size: 20px; font-weight: 650; color: var(--link);
  overflow-wrap: anywhere; user-select: text;
}
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.detail-action {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 9px 13px; border-radius: 6px;
  color: var(--text); background: transparent; border: 1px solid var(--line);
  text-decoration: none; font-size: 13px; font-weight: 650;
}
.detail-action:hover { background: var(--panel-light); }
.setup-notice {
  padding: 12px 14px; border: 1px dashed var(--line);
  border-radius: 6px; margin: 8px 0 0; font-size: 12px; line-height: 1.6;
}
.footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.contact-status {
  position: fixed; bottom: 18px; right: 18px; z-index: 30;
  width: min(420px, calc(100vw - 36px)); display: flex; align-items: start; gap: 12px;
  padding: 16px 12px 16px 18px; border: 1px solid var(--accent);
  border-radius: 8px; background: var(--bg); box-shadow: var(--shadow);
}
.contact-status p { margin: 0; font-size: 14px; color: var(--text); }
.contact-status button {
  flex-shrink: 0; display: grid; place-items: center; min-width: 44px; min-height: 44px;
  padding: 0; border: 0; background: transparent; color: var(--link); font-size: 24px;
}
@media (max-width: 860px) {
  .nav { display: flex; gap: 0; }
  .nav a:not([href="#contact"]) { display: none; }
  .brand { gap: 8px; max-width: calc(100% - 116px); }
  .brand-text { font-size: 14px; }
  .site-header { gap: 12px; background: var(--bg); }
  .contact { gap: 24px; }
  .contact-copy { padding-top: 0; }
  .contact-panel { padding: 22px; border-radius: 8px; }
  .hero { padding-top: 118px; padding-bottom: 40px; }
  .section-pad { padding-top: 44px; padding-bottom: 44px; }
  .why { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* A single scrollable row stays compact as more images are added. */
.gallery-item { scroll-snap-align: start; min-width: 0; }
.gallery-open { display: block; height: 280px; }
.gallery-open:focus-visible { outline-offset: -6px; }
.gallery-item figcaption { pointer-events: none; }
.gallery-hint { font-size: 14px; }
.gallery-controls, .viewer-navigation, .viewer-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.gallery-controls { justify-content: flex-end; margin-bottom: 12px; }
.gallery-controls button:disabled { opacity: .45; }
.gallery-viewer {
  width: min(1000px, calc(100% - 24px)); max-height: calc(100dvh - 24px);
  padding: 18px; border: 1px solid var(--accent); border-radius: 8px;
  background: var(--bg); color: var(--text); box-shadow: var(--shadow);
}
.gallery-viewer::backdrop { background: rgba(0,0,0,.88); }
.gallery-viewer img { height: min(60dvh, 620px); object-fit: contain; margin-top: 12px; }
.viewer-toolbar p { margin: 0; }
#viewer-caption { text-align: center; }
body:has(.gallery-viewer[open]) { overflow: hidden; }
@media (max-width: 600px) {
  .gallery-open { height: 240px; }
  .gallery-viewer { padding: 12px; }
}

/* Small earth-colour details, with the existing layout kept open and simple. */
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 12px;
  background: url('assets/earth-border.svg') repeat-x left center;
}
.card { border-top: 3px solid #b58749; }
.contact-panel { border-top: 3px solid var(--clay); }
.gallery-section { background: #efe7d8; }
.footer { border-top: 3px solid #b58749; }

.gallery-collections { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.gallery-collections [aria-pressed="true"] { background: var(--accent); color: #fffdf7; border-color: var(--accent); }

.gallery-item[data-collection="eswatini"] img { object-position: center 30%; }

.company-logo { display: block; width: 200px; max-width: 100%; height: auto; margin: 0 auto 24px; }

.alternative-contacts { justify-content: center; text-align: center; }
