@font-face {
  font-family: 'borna';
  font-weight: 400;
  font-display: swap;
  src:  url('/assets/fonts/borna-regular-webfont.woff2') format('woff2'),
        url('/assets/fonts/borna-regular-webfont.woff') format('woff');
}
      
@font-face {
  font-family: 'borna';
  font-weight: 700;
  font-display: swap;
  src:  url('/assets/fonts/borna-semibold-webfont.woff2') format('woff2'),
        url('/assets/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-light-blue: rgba(90, 85, 255, 0.1
  );
  --tint-lightest-blue: rgba(90, 85, 255, 0.075);
  --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);
  --tint-light-neutral: rgba(120, 120, 120, 0.2);
}

*, *::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: 400;
  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: 60rem; /* previously 48rem */
  margin: 3rem auto;
  padding-top: 0;
  position: relative;
  z-index: 2;
}

/* visual bar */

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

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;
}

/* back button */

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

.inner {
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

/* logo */

.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%;
}

/* headings */

h1, h2, h3 {
  font-weight: 700;
  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;
  text-wrap: balance;
}

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

.liteback {
  background-color: rgba(0,0,0,.1);
  margin: 2rem -2.5rem -2rem;
  padding: 2rem 2.5rem 2rem;
}

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

.standfirst__block h2 {
  margin-top: 0;
}

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

.micro-copy {
  font-size: .8em;
}

.micro-copy * {
  display: block;
  margin-top: .5rem;
}

@media screen and (min-width: 40rem) {
  .micro-copy * {
    display: inline-block;
    margin-top: 0;
  }
}

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;
  display: flex;
  flex-direction: column;
}

.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.roadmap::before,
.serviceblock.roadmap h3 span {
  background: var(--tint-light-orange);
}

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

.serviceblock.roadmap .buttonifier span {
  color: var(--tint-light-orange);
}
.serviceblock .buttonifier:hover span {
  color: inherit;
}

@media screen and (min-width: 50rem) {
  .serviceblock-holder {
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }
  .serviceblock {
    height: 100%; /* Ensures all blocks in the row are the same height */
  }
  
  /* This targets the last paragraph in the block, which holds your button */
  .serviceblock p:last-of-type {
    margin-top: auto;
    padding-top: 1.5rem; /* Optional: adds a consistent gap above the button */
  }
}

.serviceblock h3,
.serviceblock h3 a {
  font-size: 1.25rem;
  font-weight: 700;
  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;
}

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

.blockout-lite {
  background: linear-gradient(
    var(--tint-light-orange),
    var(--bg-end)
  );
}

@media screen and (min-width: 63rem) {
  .blockout {
    margin: 5.5rem -4rem 0;
    padding: 1rem 4rem 3.5rem;
    border-radius: 6px;
  }
}

.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: 400;
  max-width: 60rem;
  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: 60rem;
  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/images/boldwise.svg');
  background-repeat: no-repeat;
  background-size: 150%;
  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 0 2rem 0;
    margin: 0;
  }
}

.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); 
}

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

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

/* 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: 700;
    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;
  float: left;
  border-radius: 6px;
  margin-right: 1rem;
  margin-bottom: .5rem;
  transition: all 0.5s ease-in-out;
}

.center {
  text-align: center;
}

.mobile-sticky-cta {
  display: none;
}

@media (max-width: 600px) {
  .mobile-sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #201f2c; /* Matches your mask-icon color */
    padding: 15px;
    text-align: center;
    z-index: 9999;
    border-top: 1px solid #333;
  }
  .mobile-sticky-cta a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Borna', sans-serif;
  }
  body { padding-bottom: 60px; } /* Prevent footer from covering content */
}

.testimonial {
  position: relative;
  margin: 2.5rem -1.5rem 0;
  padding: 2rem 1.5rem 2rem;
  text-align: center;
  text-wrap: balance;
  background: linear-gradient(0deg,
    var(--tint-lightest-blue),
    var(--tint-light-blue)
  );
}

.testimonial::before {
  position: absolute;
  content: '“';
  font-size: 20rem;
  line-height: 1;
  left: 2rem;
  top: 0;
  z-index: 1;
  color: var(--tint-light-blue);
}

.testimonial::after {
  position: absolute;
  content: '”';
  font-size: 20rem;
  line-height: 1;
  right: 2rem;
  top: 0;
  bottom: 0;
  z-index: 1;
  color: var(--tint-light-blue);
}

.testimonial p {
  font-size: 1.4rem;
  z-index: 2;
}

.testimonial cite {
  z-index: 2;
}

@media screen and (min-width: 63rem) {
  .testimonial {
    margin: 2.5rem -4rem 0;
    padding: 3rem 4rem 3rem;
    border-radius: 6px;
  }
}

.timeline {
display: flex;
flex-direction: column;
gap: 0;
margin-bottom: 2rem;
}

.timeline-item {
display: flex;
gap: 1rem;
padding: 0.9rem 0;
border-top: 1px solid var(--tint-light-neutral);
position: relative;
}

.timeline-item:last-child {
border-bottom: 1px solid var(--tint-light-neutral);
}

.t-year {
color: var(--neutral);
min-width: 2.5rem;
padding-top: 0.5rem;
font-variant-numeric: tabular-nums;
}

.t-role {
line-height: 1.4;
color: var(–ink);
}

.t-role span {
display: block;
color: var(--neutral);
font-size: 0.9rem;
margin-top: 0.1rem;
}

@media screen and (min-width: 50rem) {
  .story {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
  }
  
  .timeline {
    order: 2;
    margin-top: .5rem;
  }
  
  .capabilities {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
  }
  
  .closing {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
  }
}