/* MOCA by Timothy Mukoba: one page, the colours of the MOCA Adoption Roadmap (navy, green, gold, teal) on warm white.
   Every colour is a token. Fonts are the profile site's own (Cormorant Garamond for display, Inter for text), served from this host. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-latin-regular.woff2") format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/inter-latin-medium.woff2") format("woff2"); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-latin-semibold.woff2") format("woff2"); }

:root {
  --navy: #14224f;
  --navy-deep: #0d1737;
  --green: #1b6a35;
  --green-soft: #e6f0e8;
  --gold: #8f6a0d;
  --gold-bright: #c9a227;
  --teal: #1b6f7b;
  --paper: #fbfaf6;
  --paper-deep: #f1eee4;
  --white: #ffffff;
  --text: #1b2230;
  --muted: #566074;
  --border: #d9d5c6;
  --font-display: "Cormorant Garamond", "EB Garamond", Garamond, "Times New Roman", serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
  --gutter: 16px;
  --radius: 4px;
  color-scheme: light;
}
@media (min-width: 768px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.65 var(--font-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; color: var(--navy); text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--white); padding: 8px 14px; z-index: 50; border-radius: var(--radius); }
.skip:focus { left: 8px; }
.eyebrow { font: 600 .78rem/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.lede { font-size: clamp(1.125rem, 1rem + .5vw, 1.35rem); color: var(--muted); max-width: 46ch; }

/* header */
.top { background: var(--navy-deep); color: var(--white); border-bottom: 3px solid var(--gold-bright); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 14px; }
.brand { display: inline-flex; align-items: baseline; gap: 12px; color: var(--white); text-decoration: none; }
.brand strong { font: 700 1.9rem/1 var(--font-display); letter-spacing: .06em; }
.brand span { font-size: .82rem; color: #c9d1ea; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.top nav a { color: #e6eaf7; text-decoration: none; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.top nav a:hover { color: var(--white); border-color: var(--gold-bright); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 11px 22px; border: 2px solid var(--navy); background: var(--navy); color: var(--white); font: 600 .98rem/1.2 var(--font-body); text-decoration: none; border-radius: var(--radius); }
.btn:hover { background: var(--green); border-color: var(--green); color: var(--white); }
.btn--gold { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--navy-deep); }
.btn--gold:hover { background: var(--white); border-color: var(--white); color: var(--navy-deep); }
.btn--line { background: transparent; color: var(--navy); }
.btn--line:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--line-light { background: transparent; border-color: #c9d1ea; color: var(--white); }
.btn--line-light:hover { background: var(--white); border-color: var(--white); color: var(--navy-deep); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* hero */
/* The artwork (made in Canva) is abstract brand art: five rising steps and gold arcs on the right, clear paper on the left for the words. */
.hero {
  background-color: #fbf9f4; border-bottom: 1px solid var(--border);
  background-image: url("/assets/img/moca-hero-1100.jpg");
  background-image: image-set(url("/assets/img/moca-hero-1100.webp") type("image/webp") 1x, url("/assets/img/moca-hero-1100.jpg") type("image/jpeg") 1x);
  background-repeat: no-repeat; background-position: right bottom; background-size: 100% auto;
}
@media (min-width: 1000px) {
  .hero {
    background-image: url("/assets/img/moca-hero-1920.jpg");
    background-image: image-set(url("/assets/img/moca-hero-1920.webp") type("image/webp") 1x, url("/assets/img/moca-hero-1920.jpg") type("image/jpeg") 1x);
    background-position: right center; background-size: cover;
  }
}
.hero .wrap { display: grid; gap: 28px; padding-block: clamp(40px, 7vw, 92px); }
.hero h1 { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5rem); max-width: 16ch; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--green); }
.hero .mark { font: 700 .95rem/1 var(--font-body); letter-spacing: .04em; color: var(--navy); }
/* phones: words first, then the artwork underneath them */
.hero .wrap { padding-bottom: calc(clamp(40px, 7vw, 92px) + 52vw); }
@media (min-width: 1000px) {
  .hero .wrap { padding-bottom: clamp(40px, 7vw, 92px); }
  .hero .wrap > * { max-width: 50%; }
  .hero h1 { font-size: clamp(2.6rem, 1.4rem + 3.1vw, 4.1rem); }
}

/* sections */
section { padding-block: clamp(40px, 6vw, 80px); }
section h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); margin-bottom: 16px; }
.alt { background: var(--paper-deep); }
.prose { max-width: 62ch; display: grid; gap: 14px; }
.two { display: grid; gap: 28px 56px; }
@media (min-width: 880px) { .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }

/* the roadmap, as real text */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; } }
.step { position: relative; background: var(--white); border: 1px solid var(--border); border-top: 5px solid var(--c, var(--navy)); border-radius: var(--radius); padding: 22px 18px 20px; display: grid; gap: 10px; align-content: start; }
.step::before { counter-increment: step; content: counter(step); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c, var(--navy)); color: var(--white); font: 700 1.3rem/1 var(--font-display); }
.step h3 { font: 600 1.05rem/1.3 var(--font-body); color: var(--c, var(--navy)); }
.step p { font-size: .95rem; color: var(--muted); line-height: 1.55; }
.step .for { font-size: .85rem; font-weight: 500; color: var(--text); }
.step:nth-child(1) { --c: var(--navy); }
.step:nth-child(2) { --c: var(--green); }
.step:nth-child(3) { --c: var(--gold); }
.step:nth-child(4) { --c: var(--teal); }
.step:nth-child(5) { --c: var(--navy); }
.tag-free { display: inline-block; margin-top: 2px; padding: 2px 9px; background: var(--green-soft); color: var(--green); border-radius: 99px; font: 600 .75rem/1.5 var(--font-body); letter-spacing: .04em; text-transform: uppercase; justify-self: start; }
.figure { margin: 36px 0 0; border: 1px solid var(--border); background: var(--white); padding: 10px; border-radius: var(--radius); }
.figure figcaption { padding: 10px 6px 4px; font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; }
.values { list-style: none; margin: 28px 0 0; padding: 22px 0 0; border-top: 2px solid var(--gold-bright); display: grid; gap: 10px 24px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); font: 600 .85rem/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.values li:nth-child(2) { color: var(--green); }
.values li:nth-child(3) { color: var(--teal); }
.values li:nth-child(4) { color: var(--gold); }

/* read more */
.more { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.more a { display: grid; gap: 4px; padding: 16px 18px; background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--green); border-radius: var(--radius); text-decoration: none; color: var(--text); }
.more a:hover { border-left-color: var(--gold-bright); }
.more strong { font: 700 1.25rem/1.2 var(--font-display); color: var(--navy); }
.more span { font-size: .93rem; color: var(--muted); }

/* call to action */
.cta { background: var(--navy-deep); color: var(--white); }
.cta h2 { color: var(--white); }
.cta p { color: #c9d1ea; max-width: 54ch; }
.cta .eyebrow { color: var(--gold-bright); }

/* footer */
.foot { background: var(--navy-deep); color: #aab4d4; border-top: 1px solid #263566; padding-block: 24px; font-size: .9rem; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot a { color: #e6eaf7; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .top, .cta, .foot, .actions { display: none; } body { background: #fff; } }
