/* Vitabel & Sons Co. Ltd — corporate site
   No build step. No dependencies. One stylesheet. */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,600;12..96,800&display=swap');

:root {
  --ink:      #0B211B;
  --ink-2:    #14352C;
  --emerald:  #0E7A5F;
  --gold:     #C9A227;
  --clay:     #C25A3D;
  --cream:    #F7F3E8;
  --paper:    #FFFDF8;
  --muted:    #5D7168;
  --line:     #DED7C4;

  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --measure: 68ch;
  --gutter: clamp(1.25rem, 5vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Ndop band: the signature device ----------
   Grassfields indigo resist-dyed cloth, redrawn as a hairline
   band. It marks every major boundary on the site. */

.ndop {
  height: 14px;
  background-color: var(--ink);
  background-image:
    linear-gradient(135deg, var(--gold) 25%, transparent 25%),
    linear-gradient(225deg, var(--gold) 25%, transparent 25%),
    linear-gradient(45deg, var(--emerald) 25%, transparent 25%),
    linear-gradient(315deg, var(--emerald) 25%, transparent 25%);
  background-position: 0 0, 7px 0, 0 0, 0 7px;
  background-size: 14px 14px;
  background-repeat: repeat;
}

.ndop--thin { height: 6px; background-size: 6px 6px; background-position: 0 0, 3px 0, 0 0, 0 3px; }

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 760px; }

section { padding-block: clamp(3rem, 8vw, 6rem); }

/* ---------- Header ---------- */

header.site {
  background: var(--ink);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 50;
}

header.site .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
  flex-wrap: wrap;
}

.brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
  color: var(--cream);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  line-height: 1.2;
}

.brand .mark {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}

nav.site ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.9rem, 2.5vw, 1.75rem);
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
}

nav.site a {
  color: var(--cream);
  text-decoration: none;
  opacity: 0.82;
  padding-block: 0.15rem;
  border-bottom: 2px solid transparent;
}

nav.site a:hover,
nav.site a:focus-visible,
nav.site a[aria-current="page"] { opacity: 1; border-bottom-color: var(--gold); }

/* ---------- Hero ---------- */

.hero {
  background: var(--ink);
  color: var(--cream);
  padding-block: clamp(3.5rem, 10vw, 7rem);
}

.hero .eyebrow {
  font-family: var(--display);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.25rem;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.1rem, 1.4rem + 3.4vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
  max-width: 20ch;
}

.hero p.lede {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  max-width: 56ch;
  margin: 0;
  color: #D9E3DD;
}

/* ---------- Type ---------- */

h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.125rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}

h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.0625rem;
  margin: 2rem 0 0.5rem;
}

p, li { max-width: var(--measure); }

a { color: var(--emerald); text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }

.section-lede { color: var(--muted); max-width: 60ch; margin: 0 0 2.5rem; }

/* ---------- Product cards ---------- */

.grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}

.card {
  background: var(--paper);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.card--feature { background: var(--cream); }

.card p { font-size: 0.9375rem; color: var(--muted); margin: 0; flex: 1; }

.card .meta {
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--display);
  font-size: 0.6875rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border: 1px solid currentColor;
  align-self: flex-start;
}

.status--live { color: var(--emerald); }
.status--soon { color: var(--gold); }
.status--dev  { color: var(--muted); }

.card a.more {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  align-self: flex-start;
}
.card a.more::after { content: " →"; }

/* ---------- Capability list ---------- */

.caps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.caps li { max-width: none; }
.caps h3 { margin-bottom: 0.35rem; }
.caps p { font-size: 0.9375rem; color: var(--muted); margin: 0; }

/* ---------- Facts table ---------- */

.facts { width: 100%; border-collapse: collapse; margin-block: 1.5rem; font-size: 0.9375rem; }
.facts th, .facts td { text-align: left; padding: 0.85rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { font-family: var(--display); font-weight: 600; width: 40%; padding-right: 1.5rem; }

/* ---------- Callout ---------- */

.callout {
  border-left: 3px solid var(--gold);
  background: var(--cream);
  padding: 1.25rem 1.5rem;
  margin-block: 1.75rem;
}
.callout p:last-child { margin-bottom: 0; }

.callout--warn { border-left-color: var(--clay); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
  background: var(--emerald);
  color: var(--cream);
  text-decoration: none;
  border: 2px solid var(--emerald);
}
.btn:hover, .btn:focus-visible { background: var(--ink); border-color: var(--ink); color: var(--cream); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }

/* ---------- Legal pages ---------- */

.legal { padding-block: clamp(2.5rem, 6vw, 4rem); }
.legal h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 0.5rem;
}
.legal .updated { color: var(--muted); font-size: 0.875rem; margin: 0 0 2.5rem; }
.legal h2 { font-size: 1.3125rem; margin-top: 2.75rem; }
.legal ul, .legal ol { padding-left: 1.35rem; }
.legal li { margin-bottom: 0.45rem; }

.lang-toggle { font-size: 0.875rem; margin-bottom: 2rem; }

/* ---------- Steps ---------- */

.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.5rem 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.5rem;
  min-height: 2rem;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -0.1rem;
  width: 2rem; height: 2rem;
  display: grid; place-items: center;
  background: var(--ink); color: var(--cream);
  font-family: var(--display); font-weight: 600; font-size: 0.875rem;
}

/* ---------- Footer ---------- */

footer.site { background: var(--ink); color: #C3D2CB; font-size: 0.9375rem; }
footer.site .cols {
  display: grid; gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
footer.site h3 {
  color: var(--gold); font-size: 0.75rem; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 0.9rem;
}
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: 0.5rem; }
footer.site a { color: #C3D2CB; text-decoration: none; }
footer.site a:hover, footer.site a:focus-visible { color: var(--cream); text-decoration: underline; }
footer.site .legalbar {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-block: 1.5rem;
  font-size: 0.8125rem;
  color: #93A8A0;
}
footer.site .legalbar p { margin: 0.25rem 0; max-width: none; }

/* ---------- Focus ---------- */

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