/* Mpanko corporate site. Deep green, gold and limewash, with kente-coloured woven bands as the only decoration. */
@font-face { font-family: "Bricolage Grotesque Variable"; font-style: normal; font-display: swap; font-weight: 200 800; src: url("fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations"); }
@font-face { font-family: "Public Sans Variable"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("fonts/public-sans-latin-wght-normal.woff2") format("woff2-variations"); }

:root {
  --teal: #0e7f74;
  --ink-deep: #0a2b29;
  --turq: #12b5ae;
  --turq-soft: #7fd9d3;
  --limewash: #f1f8f7;
  --ink: #0a2b29;
  --mist: #d5e3e1;
  --muted: #4a6462;
  --display: "Bricolage Grotesque Variable", "Segoe UI", system-ui, sans-serif;
  --body: "Public Sans Variable", "Segoe UI", system-ui, sans-serif;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --measure: 38rem;
  --gold: #e9a820;
  --hibiscus: #c2183a;
  --kente: repeating-linear-gradient(90deg, var(--ink-deep) 0 26px, var(--gold) 26px 34px, var(--teal) 34px 60px, var(--hibiscus) 60px 66px, var(--teal) 66px 92px, var(--gold) 92px 100px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 1.0625rem/1.65 var(--body); color: var(--ink); background: var(--limewash); overflow-x: clip; }
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.top :focus-visible, .hero :focus-visible, .band :focus-visible, footer :focus-visible { outline-color: var(--gold); }

.skip { position: absolute; left: var(--pad); top: -4rem; background: var(--limewash); color: var(--ink); padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { top: 0.75rem; }

/* Header: logo, the tabs, and a Get in touch button. Services opens a drop-down of every service; it works without JavaScript. */
.top { position: relative; background: var(--ink-deep); color: var(--limewash); padding: 0 var(--pad); }
.top::after { content: ""; display: block; height: 5px; margin-inline: calc(var(--pad) * -1); background: var(--kente); }
.top-inner { display: flex; align-items: center; gap: 0.75rem 1rem; padding: 1rem 0; max-width: 80rem; margin: 0 auto; }
.brand { display: inline-block; line-height: 0; text-decoration: none; margin-right: auto; }
.brand img { display: block; height: 4.25rem; width: auto; }
.nav-desktop > ul { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav-desktop a, .dd > summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0.7rem 1rem; border-radius: 999px; font-weight: 600; text-decoration: none; cursor: pointer; box-sizing: border-box; }
.nav-desktop a:hover, .dd > summary:hover, .dd[open] > summary { background: rgb(255 255 255 / 0.12); }
.dd > summary { list-style: none; }
.dd > summary::-webkit-details-marker { display: none; }
.dd > summary::after { content: ""; width: 0.45rem; height: 0.45rem; margin: -0.2rem 0 0 0.55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.dd[open] > summary::after { margin-top: 0.2rem; transform: rotate(-135deg); }
.dd > summary.is-current, .nav-desktop a[aria-current="page"] { background: var(--gold); color: var(--ink-deep); }
.has-menu { position: relative; }
.dd-panel { position: absolute; z-index: 20; top: calc(100% + 0.5rem); left: 0; min-width: 18rem; margin: 0; padding: 0.5rem; list-style: none; display: grid; gap: 0.1rem; background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 18px 40px rgb(0 0 0 / 0.3); }
.dd-panel a { display: flex; border-radius: 10px; padding: 0.65rem 0.9rem; font-weight: 500; color: var(--ink); }
.dd-panel a:hover { background: var(--limewash); }
.dd-panel a[aria-current="page"] { background: var(--limewash); font-weight: 700; }
.dd-panel .all { font-weight: 700; color: var(--teal); border-bottom: 1px solid var(--mist); border-radius: 10px 10px 0 0; margin-bottom: 0.25rem; }
.top .dd-panel :focus-visible { outline-color: var(--ink); }
.get { margin-left: 0.5rem; padding: 0.8rem 1.3rem; }
.nav-mobile { display: none; }
.nav-mobile > summary { display: inline-flex; align-items: center; min-height: 44px; padding: 0.6rem 1.1rem; border: 2px solid currentColor; border-radius: 999px; font-weight: 650; cursor: pointer; list-style: none; }
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile[open] > summary { background: var(--gold); border-color: var(--gold); color: var(--ink-deep); }
.nav-mobile nav { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; background: #0f3a37; padding: 0.75rem var(--pad) 1.25rem; box-shadow: 0 18px 40px rgb(0 0 0 / 0.3); max-height: calc(100vh - 6rem); overflow-y: auto; }
.nav-mobile ul { list-style: none; margin: 0; padding: 0; max-width: 40rem; }
.nav-mobile li > a { display: block; padding: 0.8rem 0.25rem; font-weight: 650; text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / 0.15); }
.nav-mobile li ul { margin: 0 0 0.5rem 0.9rem; }
.nav-mobile li li > a { font-weight: 500; border-bottom: 0; padding: 0.55rem 0.25rem; color: #d8ece9; }
.nav-mobile a[aria-current="page"] { color: var(--gold); }
@media (max-width: 62rem) {
  .nav-desktop, .top .get { display: none; }
  .nav-mobile { display: block; }
  .brand img { height: 3.4rem; }
  .top-inner { padding: 0.6rem 0 0.5rem; }
}

/* Buttons */
.btn { display: inline-block; font: 650 1rem/1 var(--body); padding: 0.95rem 1.6rem; background: var(--gold); color: var(--ink); text-decoration: none; border: 2px solid var(--gold); border-radius: 999px; }
.btn:hover { background: #fff; border-color: #fff; }
.btn.quiet { background: transparent; color: inherit; border-color: currentColor; }
.btn.quiet:hover { background: rgb(255 255 255 / 0.1); }

/* Hero */
.hero { background: var(--ink-deep) radial-gradient(circle at 80% 0%, rgb(18 181 174 / 0.22), transparent 55%); color: var(--limewash); display: grid; grid-template-columns: minmax(0, 1fr) clamp(5rem, 16vw, 15rem); }
.hero-copy { padding: clamp(3rem, 9vw, 7.5rem) var(--pad) clamp(3rem, 8vw, 6.5rem) max(var(--pad), calc((100vw - 80rem) / 2)); max-width: 100%; }
.hero h1 { font: 750 clamp(2.6rem, 8.2vw, 6.4rem)/0.98 var(--display); letter-spacing: -0.035em; margin: 0 0 1.5rem; max-width: 11em; text-wrap: balance; }
.hero p { font-size: clamp(1.1rem, 2.1vw, 1.35rem); max-width: 34rem; margin: 0 0 2.25rem; color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* The woven strip: strips of different widths, as on a narrow loom. The only decoration on the page. */
.weave { background:
  linear-gradient(90deg,
    var(--gold) 0 11%, var(--ink-deep) 11% 17%, var(--hibiscus) 17% 21%, var(--ink-deep) 21% 30%,
    var(--teal) 30% 46%, var(--gold) 46% 52%, var(--teal) 52% 64%, var(--hibiscus) 64% 68%,
    var(--gold) 68% 82%, var(--ink-deep) 82% 88%, var(--turq) 88% 100%);
}
.weave-cross { background-image: repeating-linear-gradient(0deg, transparent 0 22px, rgb(10 43 41 / 0.55) 22px 26px, transparent 26px 70px, rgb(241 248 247 / 0.45) 70px 72px); height: 100%; }

/* Sections */
section { padding: clamp(3rem, 8vw, 6rem) var(--pad); }
.wrap { max-width: 80rem; margin: 0 auto; display: grid; gap: 1rem clamp(2rem, 6vw, 6rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 56rem) { .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
h2 { font: 700 clamp(1.9rem, 4vw, 3rem)/1.05 var(--display); letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
.lede { color: var(--muted); margin: 0.75rem 0 0; max-width: 24rem; }
.prose p { margin: 0 0 1.1rem; max-width: var(--measure); }

/* Product rows: ruled, not boxed */
.rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.rows li { display: grid; gap: 0.25rem 2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--mist); }
@media (min-width: 40rem) { .rows li { grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); } }
.rows h3 { font: 650 1.35rem/1.2 var(--display); margin: 0; letter-spacing: -0.01em; }
.rows p { margin: 0; color: var(--muted); max-width: var(--measure); }

/* Dark band; the numbered list is for real sequences only */
.band { background: var(--ink-deep); color: var(--limewash); }
.band .lede { color: #fff; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; border-top: 2px solid var(--gold); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0 1rem; padding: 1.25rem 0; border-bottom: 1px solid rgb(238 240 234 / 0.25); }
.steps li::before { content: counter(step); font: 700 1.75rem/1.1 var(--display); color: var(--gold); grid-row: span 2; }
.steps h3 { font: 650 1.3rem/1.2 var(--display); margin: 0; }
.steps p { margin: 0.2rem 0 0; color: #fff; max-width: var(--measure); }

.page-title { font: 700 clamp(2rem, 5vw, 3.5rem)/1.05 var(--display); letter-spacing: -0.025em; margin: 0; }

/* Contact */
.contact dl { margin: 0; display: grid; gap: 0.25rem 2rem; grid-template-columns: max-content minmax(0, 1fr); font-size: 1.15rem; }
.contact dt { color: var(--muted); }
.contact dd { margin: 0; overflow-wrap: anywhere; }
.contact .btn { margin-top: 1.75rem; }

footer { background: var(--ink-deep); color: #cfe3e1; padding: 2.25rem var(--pad); border-top: 8px solid transparent; border-image: var(--kente) 1; }
footer a:hover { color: var(--gold); }
.foot-inner { max-width: 80rem; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: space-between; align-items: center; }
footer ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; list-style: none; margin: 0; padding: 0; }
footer a { display: inline-block; padding: 0.35rem 0; }
footer p { margin: 0; }


/* Pages */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page-head { padding-bottom: 0; padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.page-head + section { padding-top: clamp(2rem, 5vw, 3.5rem); }
.wrap.one { grid-template-columns: minmax(0, 1fr); }
.page-title { font: 750 clamp(2.2rem, 6vw, 4.2rem)/1 var(--display); letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.lede.big { font-size: clamp(1.15rem, 2.2vw, 1.5rem); max-width: 40rem; margin-top: 1rem; }
.crumb { margin: 0 0 1.25rem; }
.meta { margin: 0.1rem 0 0.35rem; color: var(--muted); font-size: 0.95rem; }
.textlink { font-weight: 600; }
.prose .actions { margin-top: 1.75rem; }
.btn.quiet.dark { color: var(--ink); }
.btn.quiet.dark:hover { background: rgb(20 23 42 / 0.07); }
.empty { margin: 0; color: var(--muted); max-width: var(--measure); }

/* Businesses: logo, then words. The whole row is one link. */
.rows.biz { border-top: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: 0.85rem; }
.rows.biz li { position: relative; grid-template-columns: 4rem minmax(0, 1fr); gap: 0 1.1rem; align-items: start; padding: 1rem; background: #fff; border: 1px solid var(--mist); border-radius: 16px; transition: border-color 0.15s; }
.rows.biz li:hover { border-color: var(--ink); }
.rows.biz h3 { margin-bottom: 0.1rem; }
.rows.biz li:hover h3 a { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; }
.stretch { text-decoration: none; }
.stretch::after { content: ""; position: absolute; inset: 0; }
.logo { display: block; width: 4rem; height: 4rem; object-fit: contain; background: #fff; border: 1px solid var(--mist); border-radius: 14px; }
.logo.mono { display: grid; place-items: center; background: var(--ink-deep); border-color: var(--ink-deep); color: var(--gold); font: 700 1.7rem/1 var(--display); }
.logo.lg { width: 5.5rem; height: 5.5rem; }
.logo.mono.lg { font-size: 2.4rem; }
.biz-head { display: flex; align-items: center; gap: 1.25rem; }

/* Plain list of businesses on the About page (inside the dark band) */
.steps.plain li { grid-template-columns: minmax(0, 1fr); }
.steps.plain li::before { content: none; }
.steps.plain a { color: var(--limewash); }

/* Call to action */
.cta { background: var(--gold); color: var(--ink-deep); }
.cta .lede { color: #1d2a00; max-width: 30rem; }
.cta .btn { background: var(--ink-deep); border-color: var(--ink-deep); color: #fff; }
.cta .btn:hover { background: #fff; border-color: #fff; color: var(--ink-deep); }
.cta :focus-visible { outline-color: var(--teal); }

/* Contact form */
.direct { margin: 1.5rem 0 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.35rem 1.25rem; }
.direct dt { color: var(--muted); }
.direct dd { margin: 0; overflow-wrap: anywhere; }
.form { display: grid; gap: 1.25rem; max-width: 36rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; padding: 0.8rem 0.9rem; border: 2px solid #5f7b78; background: #fff; color: var(--ink); border-radius: 12px; width: 100%; }
.field textarea { resize: vertical; min-height: 9rem; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #a3261b; }
.field-error { margin: 0; color: #a3261b; font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { cursor: pointer; }
.notice { border-left: 6px solid var(--gold); border-radius: 12px; background: #fff; padding: 1rem 1.25rem; max-width: 36rem; margin-bottom: 1.25rem; }
.notice.bad { border-color: #a3261b; }
.notice h3 { margin: 0 0 0.25rem; font: 650 1.25rem/1.2 var(--display); }
.notice p { margin: 0.25rem 0; }
.foot-name { font-weight: 600; }

@media (max-width: 40rem) {
  .hero { grid-template-columns: minmax(0, 1fr) 2.25rem; }
  .actions .btn { flex: 1 1 100%; text-align: center; }
  .brand img { height: 3.1rem; }
}
/* Tablet: keep the line length comfortable and the cards two across. */
@media (min-width: 40.01rem) and (max-width: 63.99rem) {
  .hero-copy { padding-block: clamp(3rem, 7vw, 5rem); }
  .hero p { max-width: 30rem; }
}
@media print { .top, .weave, .actions, footer ul { display: none; } body { background: #fff; } .hero, .band { background: none; color: #000; } }

.nowrap { white-space: nowrap; }
.contact-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.5rem 0; }
.contact-chip { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.25rem 0.7rem; min-height: 32px; border: 1.5px solid currentColor; border-radius: 999px; font-size: 0.85rem; font-weight: 600; line-height: 1; text-decoration: none; color: inherit; }
.contact-chip:hover, .contact-chip:focus-visible { background: #e9a820; border-color: #e9a820; color: #0a2b29; }
.contact-icon { flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Service, founder and Magazia pages */
.photo { margin: 1.25rem 0 0; }
.photo img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 16px; border: 1px solid var(--mist); background: #fff; }
.photo.portrait img { aspect-ratio: 4 / 5; max-height: 30rem; object-fit: cover; object-position: 50% 18%; }
.ticks { list-style: none; margin: 1.25rem 0 0; padding: 0; border-top: 2px solid var(--ink); }
.ticks li { position: relative; padding: 0.7rem 0 0.7rem 1.6rem; border-bottom: 1px solid var(--mist); }
.ticks li::before { content: ""; position: absolute; left: 0.1rem; top: 1.2rem; width: 0.6rem; height: 0.6rem; background: var(--gold); transform: rotate(45deg); }
.mini { font: 650 1.25rem/1.2 var(--display); margin: 2.25rem 0 0.6rem; }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); max-width: var(--measure); }
.timeline li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--mist); }
.timeline .yr { font: 700 1.2rem/1.4 var(--display); color: var(--teal); }
.pull { margin: 2rem 0; padding-left: 1.5rem; border-left: 6px solid var(--gold); max-width: var(--measure); }
.pull blockquote { margin: 0; font: 600 clamp(1.2rem, 2.3vw, 1.5rem)/1.45 var(--display); letter-spacing: -0.01em; }
.pull blockquote p { margin: 0; }
.pull figcaption { margin-top: 0.75rem; color: var(--muted); font-weight: 600; }
.lede.dark { color: var(--ink); max-width: var(--measure); font-size: 1.25rem; font-weight: 500; margin: 0 0 1.25rem; }
.fine { padding-block: 0 2.5rem; }
.fine p { margin: 0; max-width: 60rem; border-top: 1px solid var(--mist); padding-top: 1rem; color: var(--muted); font-size: 0.92rem; }
.heritage { background: var(--teal); color: #fff; }
.heritage .meta { color: #fff; }
.heritage .textlink { color: #fff; }
.heritage :focus-visible { outline-color: var(--gold); }
.heritage .prose p { color: #fff; }
.logo.lg { width: 6rem; height: 6rem; }
@media print { .nav-mobile, .top .get { display: none; } }

.gallery { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1rem; }
.gallery a { display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--mist); background: #fff; }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; }
.gallery a:hover img { opacity: 0.92; }
.gallery p { margin: 0.5rem 0 0; font-size: 0.92rem; color: var(--muted); }

/* The QT Eatery menu */
.menu-jump { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.5rem; padding: 0; }
.menu-jump a { display: inline-block; padding: 0.5rem 0.9rem; border: 1px solid var(--mist); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; }
.menu-jump a:hover { border-color: var(--teal); }
.menu-section { margin-top: 2rem; scroll-margin-top: 5rem; }
.menu-section h2 { scroll-margin-top: 5rem; }
.menu-list { list-style: none; margin: 0.75rem 0 0; padding: 0; border-top: 2px solid var(--ink); }
.menu-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 0.25rem 1rem; align-items: baseline; padding: 0.75rem 0; border-bottom: 1px solid var(--mist); }
.menu-desc { display: block; color: #3d5654; font-size: 0.95rem; }
.menu-price { font-weight: 700; white-space: nowrap; }
.menu-order { font-weight: 650; color: var(--teal); }
.menu-order:hover { color: var(--ink); }
@media (max-width: 34rem) { .menu-list li { grid-template-columns: 1fr auto; } .menu-order { grid-column: 1 / -1; } }

/* About: the story on the left, vision, mission and approach cards on the right */
.wrap.story { align-items: start; }
@media (min-width: 56rem) { .wrap.story { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.pillars li { background: #fff; border: 1px solid var(--mist); border-radius: 16px; padding: 1.25rem 1.5rem; }
.pillars h3 { margin: 0 0 0.4rem; font-size: 1.05rem; color: var(--teal); }
.pillars p { margin: 0; }
