:root {
  --paper: #f5f5f1;
  --ink: #171716;
  --muted: #54534f;
  --line: #d8d7d0;
  --red: #bc101d;
  --dark: #191918;
  --display: Manrope, Arial, sans-serif;
  --body: 'Work Sans', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 1rem/1.58 var(--body); background: var(--paper); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #d52934; outline-offset: 4px; }
h1,h2,h3,p,figure,dl,dd { margin: 0; }
h1,h2,h3 { font-family: var(--display); letter-spacing: -.045em; line-height: 1.05; font-weight: 800; }
h1 { font-size: clamp(3.35rem, 7.1vw, 7.8rem); }
h2 { font-size: clamp(2.3rem, 4.5vw, 4.6rem); }
h3 { font-size: clamp(1.35rem, 2.15vw, 2rem); }
em { color: var(--red); font-style: normal; }
.wrap { width: min(100% - 96px, 1320px); margin-inline: auto; }
.section { padding-block: clamp(52px, 8.2vw, 120px); }
.skip { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 8px 18px; background: white; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.header { position: sticky; top: 0; z-index: 5; background: #f5f5f1f2; backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 75px; display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.brand { position: relative; display: block; width: 156px; height: 36px; overflow: hidden; flex: none; }
.brand img { position: absolute; width: 218px; max-width: none; height: auto; top: -100px; left: -30px; }
.navigation { display: flex; align-items: center; gap: clamp(13px, 2.8vw, 43px); }
.navigation > a { font-size: .91rem; text-decoration: none; font-weight: 600; white-space: nowrap; }
.navigation > a:hover, .navigation > a[aria-current]:not(.nav-contact) { color: var(--red); }
.navigation .nav-contact { border: 1px solid var(--ink); border-radius: 999px; padding: 8px 15px; }
.navigation .nav-contact:hover, .navigation .nav-contact[aria-current] { background: var(--ink); color: white; }
.nav-toggle { border: 1px solid var(--ink); border-radius: 999px; background: transparent; padding: 7px 12px; color: var(--ink); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 17px; min-height: 49px; padding: 9px 17px; border: 1px solid transparent; border-radius: 999px; font-weight: 650; font-size: .91rem; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.button span { font-size: 1.15em; }
.primary { background: var(--red); color: white; }
.primary:hover { background: #93101a; }
.outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.outline:hover { background: var(--ink); color: white; }
.light { background: white; color: var(--ink); }
.light:hover { background: #e3e3dc; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.eyebrow { display: flex; gap: 9px; align-items: center; font-size: .72rem; font-weight: 650; letter-spacing: .115em; text-transform: uppercase; margin-bottom: 16px; }
.eyebrow i { background: var(--red); border-radius: 100%; width: 8px; height: 8px; flex: none; }
.intro { color: var(--muted); max-width: 50ch; font-size: clamp(1rem, 1.7vw, 1.22rem); line-height: 1.48; margin-top: 23px; }

.home-hero { display: grid; grid-template-columns: 1.17fr .83fr; align-items: center; gap: 22px; padding-block: clamp(48px, 7vw, 102px) clamp(46px, 6vw, 84px); min-height: min(590px, 78svh); }
.home-hero h1 { font-size: clamp(3.45rem, 6.65vw, 7.2rem); }
.hero-copy { position: relative; z-index: 1; }
.hero-photo { border-radius: 16px; overflow: hidden; background: #2d2c2b; position: relative; isolation: isolate; aspect-ratio: 1.05; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 51% center; filter: grayscale(1); }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, #16161600 30%, #76121a76); }
.service-strip { background: var(--dark); color: white; }
.service-strip > div { display: grid; grid-template-columns: repeat(4, 1fr); }
.service-strip span { min-height: 63px; display: flex; align-items: center; gap: 8px; padding-inline: 14px; font-size: .92rem; font-weight: 600; }
.service-strip span:first-child { padding-left: 0; }
.service-strip span + span { border-left: 1px solid #ffffff33; }
.service-strip .ui-icon { color: #ff626d; }

.section-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: clamp(25px, 4vw, 48px); }
.project-grid, .services-grid, .articles-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.all-projects { grid-template-columns: repeat(2,minmax(0,1fr)); }
.project-card { border: 1px solid var(--line); border-radius: 15px; overflow: hidden; background: #fff; }
.project-card > a { display: block; text-decoration: none; }
.project-card > a:focus-visible { outline-offset: -4px; }
.project-art { min-height: 175px; aspect-ratio: 1.42; display: grid; place-items: center; overflow: hidden; background: #ecebe3; }
.project-art img { width: 54%; max-height: 136px; object-fit: contain; transition: transform .28s; }
.project-card a:hover img { transform: scale(1.06); }
.art-merryland { background: #ecebdc; }
.art-wildvan { background: #dee3db; }
.art-safari-iq { background: #eee1d5; }
.art-kitalisa { background: #e3e2e8; }
.project-label { padding: 15px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.project-label p { font-size: .78rem; color: var(--muted); margin-bottom: 5px; }
.project-label h3 { font-size: clamp(1.22rem,2vw,1.65rem); }
.round { border: 1px solid var(--line); border-radius: 50%; width: 36px; height: 36px; display: grid; place-items: center; flex: none; }
.project-card a:hover .round { background: var(--red); color: white; border-color: var(--red); }
.dark { background: var(--dark); color: white; }
.dark .eyebrow i, .callout .eyebrow i { background: #ff666f; }
.service-card, .article-card { min-width: 0; padding: clamp(19px, 3vw, 37px); border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); }
.dark .service-card { background: #262624; border-color: #ffffff27; color: white; }
.service-card > span { display: inline-grid; place-items: center; border-radius: 50%; background: #f0e4e2; color: var(--red); width: 44px; height: 44px; font: 700 1.4rem/1 var(--display); margin-bottom: 26px; }
.service-card > p, .article-card > p:last-child { color: var(--muted); margin-top: 12px; }
.dark .service-card > p { color: #d4d4cc; }
.service-card .service-detail { font-size: .87rem; border-top: 1px solid var(--line); padding-top: 11px; }
.dark .service-card .service-detail { border-color: #ffffff30; }
.steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 17px; padding: 0; margin: 0; list-style: none; }
.steps li { border-top: 1px solid var(--line); padding-top: 16px; }
.steps li > span { font-size: .82rem; font-weight: 700; color: var(--red); }
.steps h3 { margin-top: 16px; }
.steps p { color: var(--muted); margin-top: 10px; }
.articles-section { padding-top: 0; }
.article-card > p:first-child { font-size: .76rem; font-weight: 700; color: var(--red); margin-bottom: 11px; }
.article-card h3 { font-size: 1.53rem; }
.article-card a { text-decoration-thickness: 1px; text-underline-offset: .17em; }
.article-card a:hover { color: var(--red); }
.article-card a span { margin-left: 8px; color: var(--red); }
.callout { background: #88101a; color: #fff; }
.callout-inner { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 23px; padding-block: clamp(46px, 7vw, 92px); }
.footer { background: #efefed; color: var(--ink); border-top: 1px solid var(--line); }
.footer > .wrap { padding-top: clamp(48px, 7vw, 105px); }
.footer .brand { width: min(100%, 640px); height: auto; aspect-ratio: 4.45; }
.footer .brand img { width: 141%; top: 50%; left: 50%; transform: translate(-50%, -53.6%); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: clamp(26px, 6vw, 88px);
  padding-block: clamp(33px, 5.6vw, 75px) clamp(30px, 5vw, 69px);
}
.footer h2 { font-size: clamp(1.35rem, 2.35vw, 1.95rem); margin-bottom: 12px; }
.footer-about > p { max-width: 48ch; }
.footer address { display: grid; gap: 3px; font-style: normal; margin-top: 19px; }
.footer address a { width: fit-content; color: var(--muted); font: 750 clamp(1.22rem, 2.75vw, 2.4rem)/1.22 var(--display); overflow-wrap: anywhere; }
.footer address a:nth-child(2) { font-size: clamp(1rem, 1.85vw, 1.52rem); }
.footer address p, .footer-note { color: var(--muted); font-size: .86rem; margin-top: 8px; }
.footer a:not(.brand) { text-decoration: none; }
.footer a:not(.brand):hover { color: var(--red); text-decoration: underline; }
.footer nav { display: flex; flex-wrap: wrap; gap: 5px 19px; color: var(--muted); margin-bottom: 23px; }
.footnote { text-align: center; padding-block: 0 24px; color: var(--muted); font-size: .9rem; }

.service-card[id] { scroll-margin-top: 95px; }

.access-loader {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 30;
  place-items: center;
  background: #f6f6f2;
  pointer-events: none;
  transition: opacity .16s ease;
}
.access-is-loading .access-loader { display: grid; }
.access-loader img { width: min(88vw, 620px); height: auto; }
.access-loader.is-finished { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .access-is-loading .access-loader { display: none; }
}

.subhero { padding-block: clamp(50px, 8vw, 108px) clamp(36px, 5.5vw, 80px); border-bottom: 1px solid var(--line); }
.subhero h1 { max-width: 16ch; font-size: clamp(3.2rem, 7vw, 7.4rem); }
.subhero > .button { margin-top: 23px; }
.after-banner { padding-top: clamp(30px, 5vw, 70px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 7vw, 95px); align-items: center; }
.split h2 { font-size: clamp(2rem,4vw,3.7rem); }
.split p:not(.eyebrow) { color: var(--muted); margin-top: 14px; }
.split .outline { margin-top: 16px; }
.split .actions .outline { margin-top: 0; }
.detail-photo { border-radius: 15px; overflow: hidden; }
.detail-photo img { width: 100%; aspect-ratio: 1.15; object-fit: cover; filter: grayscale(.85); }
.detail-art { border-radius: 15px; }
.article-body { max-width: 740px; padding-bottom: 70px; }
.article-body h2 { font-size: clamp(1.85rem,3vw,2.55rem); margin-top: 29px; }
.article-body p { color: var(--muted); margin-top: 11px; }
.article-body .button { margin-top: 26px; }
.contact-layout { align-items: start; }
.contact-list { margin-top: 22px; }
.contact-list dt { font-weight: 700; margin-top: 10px; }
.contact-list dd { color: var(--muted); overflow-wrap: anywhere; }
.contact-form { display: grid; gap: 8px; padding: clamp(17px,4vw,34px); background: white; border: 1px solid var(--line); border-radius: 15px; }
.contact-form label { font-size: .9rem; font-weight: 650; }
.contact-form :is(input,select,textarea) { width: 100%; color: var(--ink); background: var(--paper); border: 1px solid #b8b6ae; padding: 9px 10px; border-radius: 6px; margin-bottom: 6px; }
.contact-form textarea { resize: vertical; }
.contact-form .button { justify-self: start; }
.contact-form p { font-size: .88rem; margin: 0 0 4px !important; }

@media (prefers-reduced-motion: no-preference) {
  .reveal { transition: opacity .6s ease, transform .65s cubic-bezier(.2,.7,.3,1); }
  .reveal.pending:not(:focus-within) { opacity: 0; transform: translateY(26px); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 980px) {
  .wrap { width: calc(100% - 56px); }
  .header-inner { gap: 15px; }
  .navigation { gap: 15px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 65px; flex-wrap: wrap; gap: 7px 12px; padding-block: 8px; }
  .navigation { flex-wrap: wrap; width: 100%; gap: 8px 14px; }
  .navigation[data-open="false"] { display: none; }
  .navigation[data-open="true"] { position: absolute; top: 100%; inset-inline: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 14px 18px; }
  .home-hero { grid-template-columns: minmax(0,1fr); min-height: auto; gap: 26px; }
  .hero-photo { aspect-ratio: 1.55; }
  .service-strip > div { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-strip span { min-height: 47px; padding-inline: 6px; font-size: .8rem; }
  .service-strip span:nth-child(3) { border-left: 0; padding-left: 0; }
  .service-strip span:nth-child(n+3) { border-top: 1px solid #ffffff33; }
  .project-grid, .services-grid, .articles-grid, .steps { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .split { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 490px) {
  .project-grid, .services-grid, .articles-grid { grid-template-columns: minmax(0,1fr); }
  .subhero h1 { overflow-wrap: anywhere; }
  .steps { gap: 17px; }
  .footer-grid a { overflow-wrap: anywhere; }
}

.about-process { scroll-margin-top: 90px; padding-top: 0; }
.article-card-photo { padding: 0; overflow: hidden; }
.article-image { display: block; background: #e8e7e2; }
.article-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.article-image img[src$=".svg"] { object-fit: contain; padding: 13px; }
.article-card-copy { padding: clamp(17px, 2.5vw, 29px); }
.article-card-copy > p:first-child { color: var(--red); font-size: .76rem; font-weight: 700; margin-bottom: 11px; }
.article-card-copy > p:last-child { color: var(--muted); margin-top: 12px; }
.blog-cover { border-radius: 14px; overflow: hidden; margin-bottom: 31px; background: #e8e7e2; }
.blog-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.blog-cover img[src$=".svg"] { object-fit: contain; padding: 18px; }

.who-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.7vw, 24px); }
.who-card, .who-photo { min-width: 0; min-height: clamp(300px, 34vw, 490px); }
.who-card { display: flex; flex-direction: column; gap: 17px; padding: clamp(16px, 2.1vw, 32px); }
.who-card h3 { font-size: clamp(1.35rem, 2.45vw, 2.65rem); overflow-wrap: anywhere; }
.who-card p { color: var(--muted); }
.who-brand { justify-content: space-between; background: #d8d8d4; }
.who-brand .brand { max-width: 100%; }
.who-photo { position: relative; }
.who-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.who-dark { background: var(--dark); color: white; }
.who-dark p { color: #d8d8d4; }
.who-dark .button { align-self: flex-start; margin-top: auto; border-radius: 0; }
.who-metrics { border: 1px solid #bcbcb5; }
.who-metrics h3 { font-size: 1.2rem; }
.who-stat-list { display: grid; gap: 16px; }
.who-stat-list span { display: block; margin-top: 4px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.metric-number { display: block; font: 800 clamp(2.55rem, 5.2vw, 5rem)/1 var(--display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.who-stat-list .metric-number { font-size: clamp(2.3rem, 4vw, 3.85rem); }
.who-metrics > a { margin-top: auto; font-size: .86rem; text-underline-offset: 3px; }
@media (max-width: 1000px) { .who-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .who-grid { grid-template-columns: minmax(0,1fr); } .who-card { min-height: 245px; } }

.footer .brand { width: min(100%, 360px); }
.footer-grid { gap: clamp(20px, 4vw, 55px); padding-top: clamp(25px, 4vw, 53px); }
.footer-note { margin-top: 10px; }
.solutions-section { background: #efefed; color: var(--ink); }
.solutions-section .intro { max-width: 65ch; }
.solutions-action { display: flex; justify-content: flex-end; margin-block: 24px 38px; }
.solutions-action .button { border-radius: 0; background: var(--ink); color: white; }
.solutions-list { margin-top: 35px; }
.solutions-list details { border-bottom: 1px solid #c3c3bc; scroll-margin-top: 94px; }
.solutions-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding-block: clamp(20px, 3vw, 37px); cursor: pointer; list-style: none;
  font: 750 clamp(1.65rem, 4.2vw, 3.6rem)/1.13 var(--display);
  letter-spacing: -.045em;
}
.solution-overview {
  display: block;
  max-width: 64ch;
  margin-top: 10px;
  color: var(--muted);
  font: 400 1rem/1.55 var(--body);
  letter-spacing: normal;
}
.solution-detail ul { margin-block: 14px 0; padding-inline-start: 1.25em; }
.solution-detail li + li { margin-top: .45em; }
.solutions-list summary::-webkit-details-marker { display: none; }
.solutions-list summary::after { content: '+'; font-size: .7em; flex: none; }
.solutions-list details[open] summary::after { content: '−'; }
.solution-detail { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-bottom: 28px; }
.solution-detail > div { flex: 1 1 250px; max-width: 53ch; }
.solution-detail a { display: inline-block; margin-top: 12px; text-underline-offset: 4px; }
.solution-detail img { flex: 0 1 42%; width: min(100%, 420px); aspect-ratio: 3/2; object-fit: cover; }
.service-release p, .services-contact p { max-width: 53ch; margin-block: 18px 23px; }
.services-contact { background: var(--dark); color: white; text-align: center; }
.services-contact p { margin-inline: auto; }
.about-purpose { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; padding-top: 0; }
.about-purpose article { border-top: 1px solid var(--line); padding-top: 19px; }
.about-purpose h2 { font-size: clamp(1.6rem, 3vw, 2.65rem); }
.about-purpose p { max-width: 48ch; margin-top: 12px; color: var(--muted); }
@media (max-width: 620px) {
  .footer-grid { grid-template-columns: minmax(0,1fr); }
  .about-purpose { grid-template-columns: minmax(0,1fr); }
  .solution-detail img { flex-basis: 100%; }
}

.ui-icon {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  flex: none;
  vertical-align: middle;
}
.nav-toggle .menu-icon { margin-inline-start: 4px; }
.nav-toggle .menu-close,
.nav-toggle[aria-expanded="true"] .menu-open { display: none; }
.nav-toggle[aria-expanded="true"] .menu-close { display: inline; }

:is(.button, .nav-contact, .nav-toggle, .contact-social > a) {
  box-shadow: 0 2px 4px #16161621, 0 5px 12px #16161618;
}
.button.primary { box-shadow: 0 3px 5px #81101830, 0 7px 16px #a51b2638; }
.button:disabled { cursor: wait; }

@media (prefers-reduced-motion: no-preference) {
  :is(.button, .nav-contact, .nav-toggle, .contact-social > a) {
    transition: background-color .2s, color .2s, border-color .2s,
      box-shadow .22s ease, transform .22s cubic-bezier(.2,.7,.3,1);
  }
  :is(.button, .nav-contact, .nav-toggle, .contact-social > a):not(:disabled):is(:hover, :focus-visible) {
    transform: translateY(-2px);
    box-shadow: 0 4px 7px #16161629, 0 10px 22px #16161624;
  }
  :is(.button, .nav-contact, .nav-toggle, .contact-social > a):not(:disabled):active {
    transform: translateY(1px);
    box-shadow: 0 1px 3px #16161630;
  }

  html:not(.access-is-loading) :is(.hero-copy, .hero-photo) {
    animation: hero-enter .55s cubic-bezier(.2,.7,.3,1) both;
  }
  html:not(.access-is-loading) .hero-photo { animation-delay: .09s; }
  @keyframes hero-enter {
    from { opacity: 0; transform: translateY(13px); }
  }

  .article-image { overflow: hidden; }
  .article-image img { transition: transform .45s cubic-bezier(.2,.7,.3,1); }
  .article-card:is(:hover, :focus-within) .article-image img { transform: scale(1.035); }
}

/* The button overlaps the email field to form one capsule. */
.footer-form {
  display: flex;
  align-items: stretch;
  min-height: 49px;
  background: white;
  border: 1px solid #92928d;
  border-radius: 999px;
  box-shadow: 0 3px 8px #16161635;
}
.footer-form input {
  flex: 1 1 0;
  min-width: 0;
  padding: 9px 10px 9px 16px;
  border: 0;
  border-radius: inherit;
  color: var(--ink);
  background: white;
}
.footer-form input::placeholder { color: var(--muted); opacity: 1; }
.footer-form input:focus { outline: none; }
.footer-form:focus-within {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.footer-form .button {
  position: relative;
  flex: none;
  margin-inline-start: -8px;
  gap: 6px;
  padding-inline: clamp(10px, 3vw, 18px);
  color: white;
  background: var(--ink);
  white-space: nowrap;
  box-shadow: -4px 0 8px #0004;
}
.footer-form .button:not(:disabled):is(:hover, :focus-visible, :active) {
  background: #333331;
  transform: none;
  box-shadow: -4px 0 8px #0004;
}
.footer-form .button:focus-visible {
  outline: 2px solid white;
  outline-offset: -5px;
}
