@font-face {
  font-family: 'borna';
  font-weight: 400;
  font-display: swap;
  src:  url('fonts/borna-regular-webfont.woff2') format('woff2'),
        url('fonts/borna-regular-webfont.woff') format('woff');
}
      
@font-face {
  font-family: 'borna';
  font-weight: 700;
  font-display: swap;
  src:  url('fonts/borna-semibold-webfont.woff2') format('woff2'),
        url('fonts/borna-semibold-webfont.woff') format('woff');
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
:root {
  font-size: 16px;
  box-sizing: border-box;
  --text: #2c2c2c;
  --accent: #5a55ff;
  --bg-start: #f6f6fa;
  --bg-end: #ececf4;
  --light: #ffffff;
  --blue: rgba(90, 85, 255, 1);
  --orange: rgba(255, 148, 77, 1);
  --neutral: rgba(120, 120, 120, 1);
  --border: rgba(0, 0, 0, 0.05);
  --tint-blue: rgba(90, 85, 255, 0.8);
  --tint-orange: rgba(255, 148, 77, 0.8);
  --tint-light-orange: rgba(255, 148, 77, 0.3);
  --tint-neutral: rgba(120, 120, 120, 0.5);
}

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

body {
  margin: 0;
  padding: 0;
  font-family: "Borna", 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  font-size-adjust: 0.5;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.5;
  background: linear-gradient(135deg,
    rgba(90, 85, 255, 0.05),
    rgba(255, 148, 77, 0.1),
    #fef6ed
  );
  background-size: 200% 200%;
  background-position: 0% 50%;
  animation: gradientShift 30s ease-in-out infinite; background-blend-mode: lighten;
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
}

a {
  color: rgba(31, 102, 199, 1);
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.1s ease;
  text-decoration: underline;
  text-decoration-color: rgba(31, 102, 199, .5);
  text-decoration-style: dashed;
}

a:hover {
  text-decoration-color: rgba(31, 102, 199, 1);
}

.wrapper {
  max-width: 52rem; /* previously 48rem */
  margin: 3rem auto;
  padding-top: 0;
  position: relative;
  z-index: 2;
}

.visual-bar {
  max-width: 48rem;
  font-weight: 400;
  font-size: 0.85rem;
  margin: 1rem auto 3rem auto;
  text-wrap: balance;
}

h1.visual-bar {
  opacity: .5;
}

.visual-bar a {
  color: inherit;
  text-decoration: none;
  opacity: .5;
}

.visual-bar a:hover {
  opacity: 1;
}

p.visual-bar {
  margin-top: 2rem;
}

a:hover .backbtn {
  background: var(--accent);
  opacity: 1;
}

.inner {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.logo-container {
  position: relative;
  display: flex;
  justify-content: center;
  margin: -3.5rem auto 1rem;
}

.logo {
  position: relative;
  z-index: 1;
  max-width: 8rem;
  width: 100%;
  height: auto;
  fill: var(--text);
}

.logo-container::after {
  position: absolute;
  display: block;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(155deg,
    rgba(90, 85, 255, .2),
    rgba(90, 85, 255, .3),
    rgba(255, 148, 77, .8),
    rgba(254, 246, 237, 1)
  );
  content: "";
  width: 7rem;
  height: 7rem;
  margin: 0 auto;
  border-radius: 50%;
}

.logo-container::before {
  position: absolute;
  display: block;
  top: -1.4rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-start);
  content: "";
  width: 7.8rem;
  height: 7.8rem;
  margin: 0 auto;
  border-radius: 50%;
}

h1, h2, h3 {
  font-weight: 600;
  color: #111;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

h2,
.visual-h2 {
  font-size: 3rem;
  opacity: .8;
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.standfirst__block {
  background: linear-gradient(
    var(--tint-orange),
    var(--orange)
  );
  margin: 5.5rem -1.5rem 0;
  padding: 1rem 1.5rem 3rem;
}

@media screen and (min-width: 52rem) {
  .standfirst__block {
    background: linear-gradient(
      var(--tint-orange),
      var(--orange)
    );
    margin: 5.5rem -2rem 0;
    padding: 1rem 2rem 3rem;
    border-radius: 6px;
  }
}

.standfirst__block h2 {
  margin-top: 0;
}

.standfirst__text h2,
.standfirst__text h1 {
  border-top: none;
  padding-top: 1rem;
}

h3 ,
.visual-h3{
  font-size: 1.6rem;
}

p {
  margin: 0 0 1.25rem;
}

.intro {
  font-size: 1.6rem;
}

.serviceblock-holder {
  display: grid;
  gap: 0;
  margin-top: 0;
}

.serviceblock {
  padding: 2rem;
  position: relative;
  padding-left: 1.5rem;
}

.serviceblock::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 0;
  width: 6px;
  height: calc(100% - 3rem);
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.3;
}
.serviceblock.idea::before,
.serviceblock.idea h3 span {
  background: var(--tint-orange);
}

.serviceblock.idea .buttonifier span {
  color: var(--orange);
}

.serviceblock.idea .buttonifier:hover {
  background-color: var(--orange);
  color: var(--text);
}

.serviceblock.decision::before,
.serviceblock.decision h3 span {
  background: var(--tint-blue);
}

.serviceblock.decision .buttonifier:hover {
  background-color: var(--blue);
  color: var(--light);
}

.serviceblock.decision .buttonifier span {
  color: var(--blue);
}

.serviceblock.diagnose::before,
.serviceblock.diagnose h3 span {
  background: var(--tint-neutral);
}

.serviceblock.diagnose .buttonifier:hover {
  background-color: var(--neutral);
  color: var(--light);
}

.serviceblock.diagnose .buttonifier span {
  color: var(--neutral);
}

.serviceblock .buttonifier:hover span {
  color: inherit;
}

.serviceblock h3,
.serviceblock h3 a {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  margin-top: 0;
  color: #111;
  text-decoration: none;
}

.serviceblock h3 span {
  display: inline-block;
  width: 1.3rem;
  text-align: center;
  line-height: 1;
  color: white;
  margin-right: .5rem;
  border-radius: 2rem;
}

.serviceblock p {
  margin: 0 0 0.75rem;
  color: #444;
}

.serviceblock p:last-of-type {
  margin-bottom: 0;
}

.tint {
  opacity: .3;
  font-weight: 400;
}

.contactblock {
  background: linear-gradient(135deg,
    rgba(90, 85, 255, 0),
    rgba(90, 85, 255, 0),
    rgba(90, 85, 255, .1),
    rgba(255, 148, 77, 0.1),
    rgba(254, 246, 237, 1),
    rgba(254, 246, 237, 0)
  );
  backdrop-filter: blur(1px);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 2px;
  padding: 1.5rem 2rem;
  margin: 3rem auto;
  text-align: center;
  font-weight: 500;
  max-width: 48rem;
  transition: all 0.5s ease-in-out;
}

.contactblock-mini {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem 2rem;
  margin: 2rem auto;
  background: transparent;
}

.contactblock:hover {
  background: linear-gradient(135deg,
    rgba(90, 85, 255, 0),
    rgba(90, 85, 255, 0),
    rgba(90, 85, 255, .125),
    rgba(255, 148, 77, .125),
    rgba(254, 246, 237, 1),
    rgba(254, 246, 237, 0)
  );
}

.contactblock p {
  margin-bottom: 0;
}

.pagefooter {
  max-width: 48rem;
  font-size: 0.85rem;
  margin-top: 4rem;
  color: #555;
  text-align: center;
}

.bg {
  position: fixed;
  top: -10vh; 
  left: 0;
  right: 0;
  bottom: -10vh; 
  z-index: 1;
  background-image: url('assets/boldwise.svg');
  background-repeat: no-repeat;
  background-size: 200%;
  background-position: center;
  opacity: 0.02;
  filter: grayscale(100%) blur(1px);
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 52rem) {
  .wrapper {
    padding: 4rem 1rem 2rem 1rem;
    margin: 0;
  }
  
  .inner {
    padding: 0 0.5rem;
  }
}

.buttonifier {
  background-color: var(--text);
  color: var(--light);
  border: 0;
  text-decoration: none;
  padding: 0.5rem 1rem;
  margin-top: .5rem;
  display: inline-block;
}

.buttonifier:hover {
  background-color: var(--accent); 
}

/* list styling */
ul {
  list-style-type: square;
}

ol {
  list-style-type: decimal;
}

ul ul,
ol ul {
  list-style-type: circle;
}

ul ol,
ol ol {
  list-style-type: lower-alpha;
}

ul,
ol {
  list-style-position: inside;
  margin: 0 auto 1.25rem;
  padding-left: 0;
}

li {
  padding-left: 1.5rem;
  text-indent: -1rem;
}

ul li::marker,
ol li::marker {
  color: var(--tint-neutral);
}

.boxout li {
  border: 1px solid white;
  box-shadow: 0 0 5px rgba(0,0,0,.1);
  padding: 1.5rem;
  background-color: rgba(255,255,255,0.2);
  text-indent: 0;
  margin-bottom: .75rem;
  border-radius: 6px;
  backdrop-filter: blur(10px);
}

.boxout li::marker {
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    font-size: 1.6rem;
}

.boxout li h3 {
  display: inline;
}

.boxout li p {
  margin-bottom: 0;
}

.client-logos {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  list-style-type: none;
  border-collapse: collapse;
  backdrop-filter: blur(5px);
}

.client-logos li {
  flex: 0 0 50%;
  border: 1px dotted rgba(0,0,0,0.1);
  border-collapse: collapse;
}

@media screen and (min-width: 40rem) {
  .client-logos li {
    flex: 0 0 25%;
  }
}

.backbtn {
  background-color: var(--text);
  color: var(--bg-start);
  padding: 0 .1rem;
  border-radius: 10px;
}

.alexphoto {
  width: 40%;
  max-width: 11rem;
  filter: grayscale(.8);
  float: left;
  border-radius: 6px;
  margin-right: 1rem;
  margin-bottom: .5rem;
  transition: all 0.5s ease-in-out;
}

.alexphoto:hover {
  filter: grayscale(0);
}