/* Montvero sample bar */
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
.mds-bar {
  position: sticky; top: 0; z-index: 100;
  display: flex; flex-wrap: wrap; gap: .5rem 1rem;
  align-items: center; justify-content: space-between;
  padding: .5rem 1rem; background: #111; color: #fff;
  font: 500 .875rem/1.3 system-ui, sans-serif;
}
.mds-bar a { color: #fff; }
.mds-bar a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.mds-bar .mds-bar-cta {
  background: #25d366; color: #111; font-weight: 700;
  padding: .4rem .8rem; border-radius: 999px; text-decoration: none;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Mokoena & Reid */
:root {
  --paper: #f7f6f2;
  --ink: #10213a;
  --ink-soft: #4a566a;
  --ox: #7a1f2b;
  --rule: #cfcdc4;
  --serif: 'Libre Baskerville', Georgia, serif;
  --sans: 'Source Sans 3', system-ui, sans-serif;
  --gutter: clamp(1.25rem, 6vw, 6rem);
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.125rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ox); color: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--ox); }
:focus-visible { outline: 2px solid var(--ox); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }

/* Each section is a ruled row: label on the left, content on the right */
main > section {
  padding: clamp(3rem, 7vw, 5.5rem) var(--gutter);
  border-top: 1px solid var(--rule);
  display: grid; gap: 2rem 3rem;
}
@media (min-width: 900px) {
  main > section { grid-template-columns: 14rem 1fr; }
  main > section > h2 { position: sticky; top: 5rem; align-self: start; }
  main > section > :not(h2) { grid-column: 2; }
}
h2 { font-size: 1.75rem; font-style: italic; color: var(--ox); line-height: 1.3; }

.top {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem;
  padding: 1.5rem var(--gutter);
}
.wordmark { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; text-decoration: none; }
.wordmark i { font-weight: 400; color: var(--ox); }
.top nav { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; }
.top nav a { text-decoration: none; padding: .25rem 0; }
.top nav a:hover { text-decoration: underline; }

/* Hero */
main > .hero { display: block; padding-top: clamp(3rem, 9vw, 7.5rem); }
.hero h1 { font-size: clamp(2rem, 5.2vw, 4rem); line-height: 1.16; letter-spacing: -.015em; max-width: 22ch; }
.hero-foot { display: grid; gap: 2rem 4rem; margin-top: clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 900px) { .hero-foot { grid-template-columns: 1.2fr 1fr; align-items: end; } }
.hero-foot p { max-width: 34rem; margin: 0; color: var(--ink-soft); font-size: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.btn {
  display: inline-block; padding: .9rem 1.6rem; background: var(--ink); color: var(--paper);
  text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums;
  transition: background .2s ease-out;
}
.btn:hover { background: var(--ox); color: var(--paper); }

/* Services */
.services dl { margin: 0; display: grid; gap: 0 clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 700px) { .services dl { grid-template-columns: 1fr 1fr; } }
.services dl div { padding: 1.5rem 0; border-top: 1px solid var(--rule); }
@media (max-width: 699px) { .services dl div:first-child { border-top: 0; padding-top: 0; } }
@media (min-width: 700px) { .services dl div:nth-child(-n+2) { border-top: 0; padding-top: 0; } }
.services dt { font-family: var(--serif); font-size: 1.375rem; margin-bottom: .5rem; }
.services dd { margin: 0; color: var(--ink-soft); max-width: 30rem; }

/* About */
.about-text { max-width: 40rem; }
.about .lead { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.4; margin-bottom: 1.5rem; }
.about-text p:not(.lead) { color: var(--ink-soft); }

/* Team */
.team article { display: grid; gap: 1.5rem 2.5rem; align-items: center; grid-template-columns: 7rem 1fr; }
.team article + article { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--rule); }
.team img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; filter: grayscale(1) contrast(1.05); }
.team h3 { font-size: 1.375rem; line-height: 1.3; }
.team h3 span { font-family: var(--sans); font-size: 1rem; color: var(--ox); font-weight: 600; margin-left: .35rem; }
.team p { margin: .5rem 0 0; color: var(--ink-soft); max-width: 32rem; }
@media (min-width: 700px) { .team article { grid-template-columns: 11rem 1fr; } }

/* Process */
.process ol { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.process li {
  counter-increment: step; display: grid; grid-template-columns: 3.5rem 1fr; gap: 0 1rem;
  padding: 1.5rem 0; border-top: 1px solid var(--rule);
}
.process li:first-child { border-top: 0; padding-top: 0; }
.process li::before {
  content: counter(step); grid-row: span 2;
  font-family: var(--serif); font-size: 2.5rem; line-height: 1; color: var(--ox); font-variant-numeric: lining-nums;
}
.process h3 { font-size: 1.375rem; line-height: 1.3; }
.process p { margin: .4rem 0 0; color: var(--ink-soft); max-width: 34rem; }

/* Contact */
main > .contact { background: var(--ink); color: var(--paper); border-top: 0; }
.contact ::selection { background: var(--paper); color: var(--ink); }
.contact h2 { color: #e0a3ab; }
.contact a:hover { color: #e0a3ab; }
.contact :focus-visible { outline-color: var(--paper); }
.contact-cols { display: grid; gap: 2rem 4rem; align-items: end; }
@media (min-width: 900px) { .contact-cols { grid-template-columns: auto 1fr; } }
.big { font-family: var(--serif); font-size: clamp(2.4rem, 8vw, 4.75rem); line-height: 1; margin: 0; font-variant-numeric: lining-nums; }
.big a { text-decoration: none; }
.contact-cols div a { overflow-wrap: anywhere; }
address { font-style: normal; margin-bottom: 1em; }
.contact-cols div p:last-child { margin: 0; color: #b9c2d0; }

.footer {
  display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between;
  padding: 1.75rem var(--gutter); background: var(--ink); color: #b9c2d0;
  border-top: 1px solid #2b3c57; font-size: 1rem;
}
