/* Site styles for wordpressnamibia.com */

@import url("../fonts/archivo.css");

:root {
  --ink: #14161a;
  --ink-2: #1c1f25;
  --ink-soft: #3b4048;
  --grey: #84898f;
  --grey-line: #d8d9d6;
  --lime: #cdff00;
  --paper: #f4f4f1;
  --white: #ffffff;
  --cyan: #00a7e1;
  --magenta: #ec297b;
  --yellow: #ffd400;
  --max: 1180px;
  --gut: clamp(20px, 5vw, 48px);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.08; letter-spacing: -0.022em; color: var(--ink); margin: 0; }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--grey); margin: 0 0 18px; display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--lime); flex: none; }

.cmyk { display: flex; height: 4px; width: 100%; }
.cmyk i { flex: 1; }
.cmyk i:nth-child(1) { background: var(--cyan); }
.cmyk i:nth-child(2) { background: var(--magenta); }
.cmyk i:nth-child(3) { background: var(--yellow); }
.cmyk i:nth-child(4) { background: var(--ink); }

.skip { position: absolute; left: -9999px; top: 0; z-index: 99; background: var(--lime); color: var(--ink); padding: 10px 16px; font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

.site-head { position: sticky; top: 0; z-index: 50; background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.1); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 74px; position: relative; }
.brand { display: block; padding: 14px 0; }
.brand img { width: 132px; height: auto; }

.head-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,.28); color: #fff;
  font: inherit; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 9px 14px; cursor: pointer;
}

.nav { display: flex; gap: 4px; }
.nav a {
  text-decoration: none; color: rgba(255,255,255,.76); font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 10px 14px;
  border-bottom: 3px solid transparent; transition: color .15s, border-color .15s;
}
.nav a:hover { color: #fff; border-bottom-color: rgba(205,255,0,.5); }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--lime); }

.head-cta {
  text-decoration: none; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 12px 18px; white-space: nowrap;
  border: 2px solid var(--lime); transition: background .15s, color .15s;
}
.head-cta:hover { background: transparent; color: var(--lime); }

.hero { position: relative; background: var(--ink); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .58; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(10,11,13,.92) 0%, rgba(10,11,13,.62) 48%, rgba(10,11,13,.3) 100%); }
.hero > .wrap { position: relative; padding-top: clamp(72px, 11vw, 130px); padding-bottom: clamp(58px, 8vw, 96px); }
.hero-inner { max-width: 720px; }
.hero .eyebrow { color: rgba(255,255,255,.72); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 7.2vw, 5rem); letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero p { color: rgba(255,255,255,.82); font-size: clamp(1.02rem, 1.7vw, 1.2rem); max-width: 56ch; margin-top: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-strip { position: relative; border-top: 1px solid rgba(255,255,255,.14); background: rgba(10,11,13,.55); }
.hero-strip .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; padding-left: 0; padding-right: 0; }
.hero-strip span { padding: 18px var(--gut); border-left: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.82); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.hero-strip span:first-child { border-left: 0; }
.hero-strip b { color: var(--lime); display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 4px; }

.btn {
  display: inline-block; text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 15px 26px; border: 2px solid var(--lime); background: var(--lime);
  color: var(--ink); transition: background .15s, color .15s; cursor: pointer; font-family: inherit;
}
.btn:hover { background: transparent; color: var(--lime); }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.btn.ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.dark:hover { background: transparent; color: var(--ink); }

.page-head { position: relative; background: var(--ink); overflow: hidden; }
.page-head-media { position: absolute; inset: 0; }
.page-head-media img { width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.page-head-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,11,13,.9), rgba(10,11,13,.5)); }
.page-head .wrap { position: relative; padding: clamp(56px, 8vw, 96px) var(--gut); }
.page-head .eyebrow { color: rgba(255,255,255,.7); }
.page-head h1 { color: #fff; font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
.page-head p { color: rgba(255,255,255,.8); max-width: 60ch; margin-top: 20px; margin-bottom: 0; }

.section { padding: clamp(60px, 8vw, 104px) 0; }
.section.paper { background: var(--paper); }
.section.ink { background: var(--ink); color: rgba(255,255,255,.78); }
.section.ink h2, .section.ink h3, .section.ink h4 { color: #fff; }
.section.ink .eyebrow { color: rgba(255,255,255,.66); }
.section.tight { padding-top: 0; }

.section-head { max-width: 640px; margin-bottom: clamp(34px, 5vw, 52px); }
.section-head h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); }
.section-head p { margin-top: 18px; margin-bottom: 0; }

.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 0; border-top: 1px solid var(--grey-line); border-left: 1px solid var(--grey-line); margin: 0; padding: 0; list-style: none; }
.services li { padding: 34px 30px 30px; border-right: 1px solid var(--grey-line); border-bottom: 1px solid var(--grey-line); position: relative; transition: background .2s; }
.services li:hover { background: var(--white); }
.section.paper .services li:hover { background: var(--white); }
.services .num { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; color: var(--grey); margin-bottom: 20px; }
.services .num::after { content: ""; display: block; width: 22px; height: 3px; background: var(--lime); margin-top: 12px; }
.services h3 { font-size: 1.22rem; margin-bottom: 12px; }
.services p { font-size: 15px; line-height: 1.62; margin: 0; }
.services .spec { display: block; margin-top: 16px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); font-variant-numeric: tabular-nums; }

.why { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px 34px; margin: 0; padding: 0; list-style: none; }
.why li { padding-left: 34px; position: relative; font-size: 15.5px; line-height: 1.55; font-weight: 600; color: var(--ink); }
.section.ink .why li { color: rgba(255,255,255,.88); }
.why li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; background: var(--lime);
  clip-path: polygon(41% 74%, 12% 46%, 3% 55%, 41% 93%, 97% 16%, 88% 9%);
}

.process { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.process li { counter-increment: step; padding: 28px 26px 30px 0; border-top: 3px solid rgba(255,255,255,.16); margin-right: 26px; position: relative; }
.process li::before {
  content: counter(step, decimal-leading-zero); position: absolute; top: -3px; left: 0; height: 3px;
  width: 38px; background: var(--lime); font-size: 0;
}
.process h3 { font-size: 1.04rem; margin-bottom: 10px; }
.process .n { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.16em; color: var(--lime); margin-bottom: 14px; }
.process p { font-size: 14.5px; line-height: 1.6; margin: 0; color: rgba(255,255,255,.7); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 38px 30px; }
.facts div { border-top: 3px solid var(--lime); padding-top: 18px; }
.facts dt { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); }
.facts dd { margin: 8px 0 0; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.15; }
.section.ink .facts dd { color: #fff; }
.section.ink .facts dt { color: rgba(255,255,255,.6); }

.plant { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.plant figure { margin: 0; }
.plant img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.plant button.shot { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%; position: relative; }
.plant button.shot::after {
  content: "View"; position: absolute; right: 12px; bottom: 12px; background: var(--lime); color: var(--ink);
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 7px 12px;
  opacity: 0; transition: opacity .18s;
}
.plant button.shot:hover::after, .plant button.shot:focus-visible::after { opacity: 1; }
.plant figcaption { margin-top: 14px; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.plant figcaption b { display: block; color: var(--ink); font-weight: 700; letter-spacing: -0.01em; }
.section.ink .plant figcaption { color: rgba(255,255,255,.7); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,9,11,.94); display: none; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 48px); }
.lightbox[open], .lightbox.on { display: flex; }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; }
.lightbox figcaption { color: rgba(255,255,255,.74); font-size: 14px; margin-top: 16px; text-align: center; }
.lightbox figure { margin: 0; }
.lightbox .close {
  position: absolute; top: 18px; right: 18px; background: none; border: 1px solid rgba(255,255,255,.35);
  color: #fff; font: inherit; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 10px 16px; cursor: pointer;
}
.lightbox .close:hover { border-color: var(--lime); color: var(--lime); }

.split { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; } .split.flip > :first-child { order: 2; } }
.split img { width: 100%; }

.equip { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 0; border-top: 1px solid var(--grey-line); border-left: 1px solid var(--grey-line); margin: 0; padding: 0; list-style: none; }
.equip li { padding: 30px 28px; border-right: 1px solid var(--grey-line); border-bottom: 1px solid var(--grey-line); }
.equip h3 { font-size: 1.1rem; margin-bottom: 10px; }
.equip .origin { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); margin-bottom: 16px; }
.equip p { font-size: 15px; line-height: 1.6; margin: 0; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button {
  font: inherit; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 11px 18px; border: 1px solid var(--grey-line); background: var(--white); color: var(--grey);
  cursor: pointer; transition: all .15s;
}
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-count { font-size: 13px; color: var(--grey); margin: 0 0 22px; }

.clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 0; border-top: 1px solid var(--grey-line); border-left: 1px solid var(--grey-line); }
.clients figure { margin: 0; padding: 18px 14px; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--grey-line); border-bottom: 1px solid var(--grey-line); }
.clients figure[hidden] { display: none; }
.clients img { width: 100%; height: auto; transition: transform .25s; }
.clients figure:hover img { transform: scale(1.04); }

.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 18px; }
.prose h3 { font-size: 1.12rem; margin: 34px 0 10px; letter-spacing: -0.01em; }
.prose ul { padding-left: 0; margin: 0 0 1.4em; list-style: none; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 9px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 3px; background: var(--lime); }

.spec-grid { display: grid; grid-template-columns: 1fr; gap: clamp(34px, 5vw, 56px); }
@media (min-width: 940px) { .spec-grid { grid-template-columns: 1.4fr .8fr; align-items: start; } }
.spec-aside { border: 1px solid var(--grey-line); padding: 24px; background: var(--white); position: sticky; top: 100px; }
.spec-aside img { width: 100%; }
.spec-aside p { font-size: 14px; line-height: 1.6; margin: 16px 0 0; }

.sizes { display: grid; gap: 1px; background: var(--grey-line); border: 1px solid var(--grey-line); margin: 0 0 8px; padding: 0; list-style: none; }
.prose ul.sizes li, .sizes li { background: var(--white); margin: 0; padding: 18px 20px; display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.prose ul.sizes li::before, .sizes li::before { display: none; }
.sizes .nm { font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.sizes .dim { font-variant-numeric: tabular-nums; color: var(--grey); font-weight: 600; font-size: 15px; }
.sizes li span.swatch { width: 10px; height: 10px; display: inline-block; margin-right: 10px; vertical-align: 1px; }

.faq { border-top: 1px solid var(--grey-line); margin: 0; }
.faq details { border-bottom: 1px solid var(--grey-line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-weight: 700; color: var(--ink); font-size: 1.04rem; letter-spacing: -0.01em; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 3px; background: var(--ink);
  transform: translateY(-50%); transition: transform .2s;
}
.faq summary::before {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 3px; background: var(--ink);
  transform: translateY(-50%) rotate(90deg); transition: transform .2s, opacity .2s;
}
.faq details[open] summary::before { opacity: 0; transform: translateY(-50%) rotate(0); }
.faq details[open] summary { color: var(--ink); }
.faq .answer { padding: 0 44px 24px 0; font-size: 15.5px; line-height: 1.68; }
.faq .answer p:last-child { margin-bottom: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 56px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .85fr 1.15fr; } }
.contact-list { margin: 0; }
.contact-list dt { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); margin-top: 26px; }
.contact-list dt:first-child { margin-top: 0; }
.contact-list dd { margin: 7px 0 0; font-size: 1.08rem; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.contact-list dd a { text-decoration: none; border-bottom: 2px solid var(--lime); }
.contact-list dd a:hover { background: var(--lime); }
.map-frame { position: relative; border: 1px solid var(--grey-line); min-height: 460px; }
.map { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) contrast(1.05); }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); }
.field label .req { color: var(--magenta); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--white);
  border: 1px solid var(--grey-line); padding: 13px 14px; border-radius: 0; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--lime); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13.5px; color: var(--grey); margin: 18px 0 0; }
.form-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }

.notice { border-left: 4px solid var(--lime); background: var(--paper); padding: 20px 24px; margin-bottom: 34px; }
.notice b { display: block; color: var(--ink); margin-bottom: 4px; }
.notice p { margin: 0; font-size: 15px; }
.notice.bad { border-left-color: var(--magenta); }

.site-foot { background: var(--ink); color: rgba(255,255,255,.62); padding: clamp(50px, 7vw, 76px) 0 0; }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 38px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-foot img.mark { width: 150px; margin-bottom: 22px; }
.site-foot h4 { color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 16px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 9px; font-size: 15px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--lime); }
.site-foot p { font-size: 15px; line-height: 1.6; }
.foot-bar { margin-top: clamp(40px, 6vw, 60px); border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.45); }
.fb { display: inline-flex; align-items: center; gap: 9px; color: rgba(255,255,255,.8); text-decoration: none; font-size: 15px; }
.fb svg { width: 18px; height: 18px; fill: currentColor; }
.fb:hover { color: var(--lime); }

.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.22,.7,.3,1); }

@media (max-width: 1040px) { .head-cta { display: none; } }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--ink);
    border-bottom: 1px solid rgba(255,255,255,.12); flex-direction: column; gap: 0;
    padding: 6px 0 14px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px var(--gut); border-bottom: none; border-left: 3px solid transparent; }
  .nav a[aria-current="page"] { border-left-color: var(--lime); }
  .process li { margin-right: 0; padding-right: 0; }
  .hero-strip span { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .hero-strip span:first-child { border-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
