/* Mbombela Made — public site
   White field, black text, logo red (#FF0000) only as a short rule,
   underline, focus ring, or hover. The script word “Made” stays in the logo. */

@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/bodoni-moda-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Bodoni Moda";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bodoni-moda-italic-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/figtree-latin.woff2") format("woff2");
}

:root {
  --bg: #fff;
  --ink: #111;
  --ink-soft: #3a3a3a;
  --line: #e6e6e6;
  --line-strong: #111;
  --red: #ff0000;
  --serif: "Bodoni Moda", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1120px;
  --header: 4.5rem;
  --gutter: 1.25rem;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

picture {
  display: block;
}

svg {
  display: block;
}

a {
  color: inherit;
  text-decoration-color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
.h-display {
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 4.75rem);
  max-width: 12em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  max-width: 16em;
}

h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

::selection {
  background: #111;
  color: #fff;
}

:focus {
  outline: none;
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: #000;
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 1rem;
}

.skip:focus {
  top: 0.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

@media (min-width: 720px) {
  :root {
    --gutter: 2rem;
  }
}

/* Header and navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: var(--header);
  gap: 0.75rem 1rem;
}

.brand {
  position: relative;
  z-index: 46;
  display: flex;
  align-items: center;
  margin-right: auto;
  text-decoration: none;
  min-height: 44px;
}

.brand img {
  height: 36px;
  width: auto;
  max-width: calc(100vw - 8.5rem);
  aspect-ratio: 2000 / 691;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.9rem;
  border: 1px solid #111;
  background: #fff;
  font-weight: 550;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 45;
}

.nav-toggle-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-close {
  display: inline;
}

.nav-links,
.socials,
.footer-links,
.clean-list,
.page-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-panel {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex-basis: 100%;
  padding-bottom: 1.25rem;
}

.js .nav-panel {
  display: none;
}

.nav-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
}

.nav-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  padding-top: 0.75rem;
}

.nav-secondary a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  align-items: center;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #111;
  text-decoration: none;
}

.socials a:hover {
  color: var(--red);
}

.socials svg,
.btn svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

.nav-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 0.75rem;
  padding: 0 1rem;
  background: #111;
  color: #fff;
  text-decoration: none;
  font-weight: 550;
}

.nav-wa:hover {
  color: #fff;
  box-shadow: inset 0 -3px 0 var(--red);
  text-decoration: none;
}

.js .nav-panel.is-open {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 35;
  background: #fff;
  padding: calc(var(--header) + 0.5rem) var(--gutter) 1.5rem;
  overflow: auto;
}

.js .nav-panel.is-open .nav-wa {
  margin-top: auto;
}

body.nav-open {
  overflow: hidden;
}

@media (min-width: 1100px) {
  .brand img {
    height: 42px;
    max-width: 220px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-panel,
  .js .nav-panel {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-basis: auto;
    gap: 1.15rem;
    position: static;
    padding: 0;
    overflow: visible;
    background: transparent;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 1.15rem;
  }

  .nav-links a {
    min-height: 44px;
    font-family: var(--sans);
    font-size: 0.98rem;
    font-weight: 500;
    letter-spacing: 0;
  }

  .nav-secondary {
    display: none;
  }

  .nav-wa {
    margin-top: 0;
    background: transparent;
    color: #111;
    padding: 0 0.15rem;
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-underline-offset: 0.28em;
    font-weight: 600;
  }

  .nav-wa:hover {
    color: #111;
    box-shadow: none;
    text-decoration-thickness: 2px;
  }
}

.header-social {
  display: none;
}

@media (max-width: 1099px) {
  .nav-panel.is-open .header-social,
  html:not(.js) .header-social {
    display: flex;
  }
}

@media (min-width: 1240px) {
  .header-social {
    display: flex;
  }
}

/* Hero */

.hero {
  padding-top: 2.25rem;
  padding-bottom: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-rule {
  width: 2rem;
  height: 2px;
  background: var(--red);
  flex: 0 0 auto;
}

.hero h1 {
  max-width: none;
  margin: 0 0 1.75rem;
}

.hero-mark {
  width: min(100%, 860px);
  height: auto;
  aspect-ratio: 2000 / 691;
}

.lede {
  max-width: 40rem;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink);
}

.lede + .lede,
.stack > * + * {
  margin-top: 1rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  background: #111;
  color: #fff;
  border: 1px solid #111;
  text-decoration: none;
  font-weight: 550;
  letter-spacing: 0.01em;
  transition: box-shadow 160ms ease;
}

.btn:hover {
  color: #fff;
  text-decoration: none;
  box-shadow: inset 0 -3px 0 var(--red);
}

.btn-ghost {
  background: #fff;
  color: #111;
}

.btn-ghost:hover {
  color: #111;
}

@media (max-width: 540px) {
  .actions .btn {
    flex: 1 1 100%;
  }
}

.facts {
  display: grid;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.facts div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
}

/* Sections */

.section {
  border-top: 1px solid var(--line);
  padding-block: 4.25rem;
}

.kicker {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-intro {
  max-width: 40rem;
  margin-top: 1rem;
  color: var(--ink);
}

.section-head {
  margin-bottom: 2rem;
}

.split {
  display: grid;
  gap: 1.5rem;
}

.points {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.points article {
  border-top: 1px solid #111;
  padding-top: 0.9rem;
}

.points h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: 0;
  margin-bottom: 0.35rem;
}

.note-line {
  margin-top: 1.5rem;
  max-width: 42rem;
  color: var(--ink-soft);
}

/* Services grid */

.service-grid {
  display: grid;
  gap: 2rem;
}

.service {
  border-top: 1px solid #111;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
}

.service .index {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.service h3 {
  font-size: 1.85rem;
}

.service .more {
  margin-top: auto;
  padding-top: 0.5rem;
  font-weight: 600;
}

.clean-list li {
  position: relative;
  padding-left: 0.95rem;
  margin-top: 0.45rem;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.45rem;
  height: 1px;
  background: #111;
}

/* Work cards */

.work-grid {
  display: grid;
  gap: 1.75rem;
}

.work-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
  border-top: 1px solid #111;
  padding-top: 1rem;
  min-height: 100%;
}

.work-card:hover h3 {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 0.16em;
}

.preview {
  background: #fff;
  border: 1px solid var(--line);
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 1.5rem 1.25rem;
}

.preview picture {
  display: flex;
  justify-content: center;
  width: 100%;
}

.preview .hero-mark,
.preview img.word {
  width: min(100%, 440px);
  height: auto;
}

.preview img.stamp {
  width: 112px;
  height: auto;
}

.tag {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Process */

.process {
  display: grid;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.process > li,
ol.clean-list > li {
  list-style: none;
}

.process > li::marker,
ol.clean-list > li::marker {
  content: "";
}

.step {
  border-top: 1px solid #111;
  padding-top: 0.85rem;
}

.step .index {
  font-family: var(--serif);
  font-size: 1.25rem;
}

.step h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: 0;
  margin: 0.35rem 0;
}

.step p,
.fine {
  color: var(--ink-soft);
}

.fine {
  margin-top: 1.25rem;
  max-width: 42rem;
}

.fine a {
  color: #111;
  font-weight: 600;
}

/* Person */

.person-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.025em;
  line-height: 0.98;
  margin: 0.2rem 0 0.75rem;
}

.role {
  font-weight: 600;
  margin-bottom: 1rem;
}

.narrow {
  max-width: 40rem;
}

/* Apparel feature */

.apparel-band {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  border: 1px solid var(--line);
  padding: 1.25rem;
}

.apparel-band .stamp {
  width: 88px;
  height: auto;
}

.apparel-band h3 {
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
}

/* Close */

.close h2 {
  max-width: 10em;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.25rem;
  margin-top: 1.25rem;
  align-items: center;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding-inline: 0.35rem;
  font-weight: 600;
}

.social-row svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

/* Footer */

.site-footer {
  border-top: 1px solid #111;
  padding-block: 2.25rem 2.75rem;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

.footer-brand img {
  height: 30px;
  width: auto;
  aspect-ratio: 2000 / 691;
  margin-bottom: 0.85rem;
}

.footer-status {
  max-width: 28rem;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-links a,
.footer-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-meta a {
  margin-right: 1rem;
}

.footer-label {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.legal {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Inner pages */

.page-head {
  padding-top: 3rem;
  padding-bottom: 0.5rem;
}

.page-head .lede {
  margin-top: 1.15rem;
}

.page-body {
  padding-bottom: 4.5rem;
}

.block {
  margin-top: 3.5rem;
}

.block > h2 + p,
.block > .kicker + h2 {
  margin-top: 0;
}

.block h2 + p,
.block h2 + .scope,
.block h2 + .clean-list {
  margin-top: 0.9rem;
}

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.jump a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}

.scope {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.scope h3 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.callout {
  margin-top: 3.5rem;
  padding-block: 1.5rem;
  border-top: 1px solid #111;
  border-bottom: 1px solid #111;
}

.callout h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 0.75rem;
}

.step-detail + .step-detail {
  margin-top: 1.75rem;
}

.step-detail {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.handoff {
  margin-top: 0.65rem;
  color: var(--ink);
}

.handoff strong {
  font-weight: 650;
}

/* Contact */

.contact-layout {
  display: grid;
  gap: 2rem;
}

.contact-layout > * {
  border-top: 1px solid #111;
  padding-top: 1.15rem;
}

.whatsapp-block .btn {
  margin: 1rem 0 0.85rem;
}

.profile-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.profile-list li + li {
  border-top: 1px solid var(--line);
}

.profile-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 52px;
  text-decoration: none;
  font-weight: 600;
}

.profile-list a:hover .profile-name {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 0.18em;
}

.profile-list svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
  flex: 0 0 auto;
}

.profile-handle {
  margin-left: auto;
  font-weight: 450;
  color: var(--ink-soft);
}

/* Apparel study */

.studies {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
}

.garment-photo {
  display: block;
  width: min(100%, 420px);
  margin-inline: auto;
}

.garment-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.studies figcaption,
.caption {
  margin-top: 0.75rem;
  text-align: center;
  color: var(--ink-soft);
}

.caption {
  text-align: left;
  margin-top: 1rem;
}

.swatches {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  padding: 0;
  margin: 1.25rem 0 0;
}

.swatches li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
}

.swatch {
  width: 18px;
  height: 18px;
  border: 1px solid #111;
  flex: 0 0 auto;
}

.swatch-black { background: #000; }
.swatch-white { background: #fff; }
.swatch-red { background: var(--red); }

/* 404 */

.page-links {
  margin-top: 1.5rem;
}

.page-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
}

.page-links li:last-child a {
  border-bottom: 1px solid var(--line);
}

.page-links a:hover {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 0.2em;
}

/* Desktop grids */

@media (min-width: 800px) {
  .facts {
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--line);
  }

  .facts div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 1rem 1.1rem 1.15rem;
    border-bottom: 0;
    border-left: 1px solid var(--line);
  }

  .facts div:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
  }

  .split .points {
    margin-top: 0.4rem;
  }

  .service-grid,
  .work-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.75rem;
  }

  .scope,
  .contact-layout,
  .studies,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
  }

  .apparel-band {
    grid-template-columns: auto 1fr auto;
    padding: 1.5rem 1.75rem;
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .section {
    padding-block: 6.25rem;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
  }

  .page-head {
    padding-top: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .nav-toggle,
  .skip,
  .socials,
  .nav-wa {
    display: none !important;
  }

  .js .nav-panel {
    display: flex !important;
    position: static !important;
    padding: 0 !important;
  }

  .site-header {
    position: static;
  }

  .nav-links a {
    font-family: var(--sans);
    font-size: 0.9rem;
    min-height: 0;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-weight: 400;
    font-size: 0.85em;
  }
}
