/* RDS v2 Website Design */

.design-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
  color: #fff;
  background:
    radial-gradient(circle at 88% 22%, rgba(0, 174, 239, .18), transparent 27%),
    radial-gradient(circle at 5% 95%, rgba(239, 183, 53, .14), transparent 25%),
    linear-gradient(145deg, #071323, #0a213d);
}

.design-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(24rem, .97fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.design-hero .eyebrow,
.design-framework .eyebrow,
.design-cta .eyebrow {
  color: #efb735;
}

.design-hero h1 {
  max-width: 12ch;
  margin: 0 0 1.3rem;
  color: #fff;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  line-height: .95;
  letter-spacing: -.055em;
}

.design-hero__lead {
  max-width: 45rem;
  color: rgba(255,255,255,.72);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.65;
}

.design-hero__actions,
.design-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.design-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .78rem 1rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none;
}

.design-button--primary {
  color: #071323;
  background: #efb735;
}

.design-button--primary:hover {
  color: #fff;
  background: #00718f;
}

.design-button--secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}

.design-button--outline {
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
}

.design-hero__signals {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1rem;
  padding: 0;
  margin: 1.45rem 0 0;
  list-style: none;
}

.design-hero__signals li {
  position: relative;
  padding-left: 1rem;
  color: rgba(255,255,255,.66);
  font-size: .7rem;
  font-weight: 800;
}

.design-hero__signals li::before {
  position: absolute;
  top: .5em;
  left: 0;
  width: .38rem;
  height: .38rem;
  content: "";
  background: #64d7ef;
  border-radius: 50%;
}

.design-hero__visual {
  position: relative;
  min-height: 30rem;
  display: grid;
  place-items: center;
}

.design-browser {
  overflow: hidden;
  width: min(100%, 39rem);
  background: #fff;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 1rem;
  box-shadow: 0 2.3rem 5rem rgba(0,0,0,.32);
  transform: rotate(1.2deg);
}

.design-browser__bar {
  display: flex;
  align-items: center;
  gap: .38rem;
  min-height: 2.15rem;
  padding-inline: .8rem;
  color: #617184;
  background: #edf2f5;
  border-bottom: 1px solid #d9e1e7;
}

.design-browser__bar > span {
  width: .5rem;
  height: .5rem;
  background: #efb735;
  border-radius: 50%;
}

.design-browser__bar > span:nth-child(2) {
  background: #52b971;
}

.design-browser__bar > span:nth-child(3) {
  background: #2ba9d4;
}

.design-browser__bar small {
  margin-left: .4rem;
  font-size: .62rem;
  font-weight: 800;
}

.design-browser__page {
  min-height: 22rem;
  padding: 1rem;
  color: #071323;
  background: #f7fafc;
}

.design-browser__nav {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid #dce5ec;
  font-size: .54rem;
  font-weight: 800;
}

.design-browser__nav b {
  margin-right: auto;
}

.design-browser__nav i {
  padding: .35rem .5rem;
  color: #fff;
  background: #00718f;
  border-radius: 999px;
  font-style: normal;
}

.design-browser__hero {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 1rem;
  align-items: center;
  padding-top: 2.6rem;
}

.design-browser__hero > div:first-child {
  display: grid;
  gap: .7rem;
}

.design-browser__hero small {
  color: #00718f;
  font-size: .56rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.design-browser__hero strong {
  max-width: 11ch;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: .97;
}

.design-browser__hero p {
  max-width: 23rem;
  margin: 0;
  color: #627185;
  font-size: .64rem;
  line-height: 1.5;
}

.design-browser__cta {
  justify-self: start;
  padding: .45rem .65rem;
  color: #071323;
  background: #efb735;
  border-radius: 999px;
  font-size: .59rem;
  font-weight: 900;
}

.design-browser__stack {
  display: grid;
  gap: .65rem;
}

.design-browser__stack span {
  padding: .8rem;
  color: #0c354b;
  background: #eaf3f7;
  border-left: 3px solid #00a9ce;
  border-radius: .45rem;
  font-size: .65rem;
  font-weight: 900;
}

.design-floating-card {
  position: absolute;
  display: grid;
  padding: .75rem .9rem;
  color: #071323;
  background: rgba(255,255,255,.96);
  border-radius: .75rem;
  box-shadow: 0 1rem 2rem rgba(0,0,0,.22);
}

.design-floating-card span {
  color: #00718f;
  font-size: .55rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.design-floating-card strong {
  font-size: .75rem;
}

.design-floating-card--one {
  top: 1.6rem;
  right: -.5rem;
}

.design-floating-card--two {
  bottom: 1.3rem;
  left: -.7rem;
}


.design-outcomes,
.design-fit,
.design-process {
  padding-block: clamp(4rem, 7vw, 6rem);
  background: #f0f4f8;
}

.design-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, .8fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 5rem);
  margin-bottom: 2.5rem;
}

.design-section-heading h2,
.design-included__intro h2,
.design-fit__heading h2,
.design-process h2,
.design-framework h2,
.design-cta h2 {
  margin: 0;
  color: #071323;
  font-size: clamp(2.5rem, 4.4vw, 4.3rem);
  line-height: .98;
  letter-spacing: -.048em;
}

.design-section-heading h2 {
  max-width: 17ch;
}

.design-section-heading > p {
  max-width: 32rem;
  color: #526176;
  line-height: 1.65;
}

.design-outcomes__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.design-outcomes article,
.design-fit__grid article {
  padding: 1.45rem;
  background: #fff;
  border: 1px solid rgba(7,19,35,.09);
  border-top: 3px solid #00718f;
  border-radius: 1rem;
  box-shadow: 0 1rem 2.3rem rgba(7,19,35,.06);
}

.design-outcomes article > span {
  color: #d59600;
  font-size: .65rem;
  font-weight: 900;
}

.design-outcomes h3,
.design-fit__grid span {
  display: block;
  margin: .6rem 0;
  color: #071323;
  font-size: 1rem;
  font-weight: 900;
}

.design-outcomes p,
.design-fit__grid p {
  margin: 0;
  color: #5c6b7d;
  font-size: .8rem;
  line-height: 1.55;
}


.design-included {
  padding-block: clamp(4rem, 7vw, 6.5rem);
  background: #fff;
}

.design-included__layout {
  display: grid;
  grid-template-columns: minmax(18rem, .72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.design-included__intro {
  position: sticky;
  top: 7rem;
}

.design-included__intro h2 {
  max-width: 11ch;
}

.design-included__intro > p {
  max-width: 28rem;
  color: #58687b;
  line-height: 1.65;
}

.design-included__list {
  display: grid;
  gap: .75rem;
}

.design-included__list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem;
  background: #f3f6f9;
  border: 1px solid rgba(7,19,35,.08);
  border-radius: .9rem;
}

.design-included__list article > span {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  color: #071323;
  background: #efb735;
  border-radius: 50%;
  font-size: .65rem;
  font-weight: 900;
}

.design-included__list h3 {
  margin: 0 0 .35rem;
  color: #071323;
}

.design-included__list p {
  margin: 0;
  color: #5c6a7b;
  font-size: .82rem;
  line-height: 1.55;
}


.design-framework {
  padding-block: clamp(4rem, 7vw, 6rem);
  color: #fff;
  background:
    radial-gradient(circle at 88% 30%, rgba(0,174,239,.16), transparent 27%),
    linear-gradient(145deg, #071323, #0b2948);
}

.design-framework__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 1fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.design-framework h2,
.design-cta h2 {
  max-width: 14ch;
  color: #fff;
}

.design-framework__content > p {
  color: rgba(255,255,255,.68);
  line-height: 1.65;
}

.design-framework__phases {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin: 1.4rem 0;
}

.design-framework__phases span {
  padding: .45rem .6rem;
  color: #dff8fc;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  font-size: .64rem;
  font-weight: 900;
}

.design-framework__phases b {
  color: #efb735;
}

.design-framework__content > a {
  display: inline-flex;
  gap: .5rem;
  color: #efb735;
  font-weight: 900;
  text-decoration: none;
}


.design-fit {
  background: #fff;
}

.design-fit__heading {
  margin-bottom: 2rem;
}

.design-fit__heading h2 {
  max-width: 16ch;
}

.design-fit__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}


.design-process__layout {
  display: grid;
  grid-template-columns: minmax(18rem, .72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 7vw, 7rem);
}

.design-process h2 {
  max-width: 12ch;
}

.design-process ol {
  display: grid;
  gap: .7rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.design-process li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid rgba(7,19,35,.09);
  border-radius: .85rem;
}

.design-process li > span {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  color: #fff;
  background: #00718f;
  border-radius: 50%;
  font-size: .63rem;
  font-weight: 900;
}

.design-process strong {
  color: #071323;
}

.design-process p {
  margin: .25rem 0 0;
  color: #5c6979;
  font-size: .75rem;
}


.design-cta {
  padding-block: clamp(4rem, 7vw, 6rem);
  color: #fff;
  background:
    linear-gradient(110deg, #07516a, #071c35 65%, #071323);
}

.design-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) auto;
  align-items: center;
  gap: 3rem;
}

.design-cta p:not(.eyebrow) {
  max-width: 42rem;
  color: rgba(255,255,255,.67);
  line-height: 1.6;
}


@media (max-width: 1050px) {
  .design-hero__grid,
  .design-included__layout,
  .design-framework__grid,
  .design-process__layout {
    grid-template-columns: 1fr;
  }

  .design-included__intro {
    position: static;
  }

  .design-outcomes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 760px) {
  .design-section-heading,
  .design-cta__grid {
    grid-template-columns: 1fr;
  }

  .design-fit__grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 600px) {
  .design-hero h1 {
    max-width: none;
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .design-hero__visual {
    min-height: 24rem;
  }

  .design-browser__hero {
    grid-template-columns: 1fr;
  }

  .design-browser__stack {
    grid-template-columns: repeat(3, 1fr);
  }

  .design-outcomes__grid {
    grid-template-columns: 1fr;
  }

  .design-floating-card--one {
    right: .25rem;
  }

  .design-floating-card--two {
    left: .25rem;
  }
}

/* Website Design hero final calibration */

.design-browser__page {
  min-height: 18.75rem;
}

.design-browser__hero {
  padding-top: 1.75rem;
}

.design-hero__visual {
  min-height: 27rem;
}

@media (max-width: 600px) {
  .design-browser__page {
    min-height: 18rem;
  }

  .design-hero__visual {
    min-height: 23rem;
  }
}

/* Website Design founder + motion */

.design-browser {
  position: relative;
  z-index: 1;
  animation: design-browser-float 6.5s ease-in-out infinite;
  will-change: transform;
}

.design-floating-card {
  z-index: 3;
}

.design-floating-card--one {
  animation: design-tile-float-one 5.2s ease-in-out infinite;
}

.design-floating-card--two {
  animation: design-tile-float-two 5.8s ease-in-out infinite reverse;
}

.design-founder-card {
  position: absolute;
  right: .35rem;
  bottom: .1rem;
  z-index: 5;

  display: flex;
  align-items: center;
  gap: .7rem;

  min-width: 11.5rem;
  padding: .62rem .78rem;

  color: #071323;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(7,19,35,.1);
  border-radius: .85rem;

  box-shadow:
    0 1.1rem 2.6rem rgba(0,0,0,.24);

  animation:
    design-founder-float 5.5s ease-in-out infinite reverse;

  will-change: transform;
}

.design-founder-card img {
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;

  object-fit: cover;
  object-position: center;

  border: 2px solid #efb735;
  border-radius: 50%;
}

.design-founder-card div {
  display: grid;
  gap: .08rem;
}

.design-founder-card small {
  color: #00718f;

  font-size: .54rem;
  font-weight: 900;
  letter-spacing: .09em;
  line-height: 1.1;

  text-transform: uppercase;
}

.design-founder-card strong {
  color: #071323;
  font-size: .72rem;
  line-height: 1.15;
}

@keyframes design-browser-float {
  0%,
  100% {
    transform: rotate(1.2deg) translate3d(0, 0, 0);
  }

  50% {
    transform: rotate(.65deg) translate3d(0, -9px, 0);
  }
}

@keyframes design-tile-float-one {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -7px, 0);
  }
}

@keyframes design-tile-float-two {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, 6px, 0);
  }
}

@keyframes design-founder-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@media (max-width: 1050px) {
  .design-founder-card {
    right: 1rem;
    bottom: .25rem;
  }
}

@media (max-width: 600px) {
  .design-founder-card {
    right: .4rem;
    bottom: .4rem;
    min-width: 10rem;
    padding: .52rem .62rem;
  }

  .design-founder-card img {
    width: 2.6rem;
    height: 2.6rem;
    flex-basis: 2.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .design-browser,
  .design-floating-card--one,
  .design-floating-card--two,
  .design-founder-card {
    animation: none;
  }
}

/* =========================================================
   Website Design custom-built card
   Founder portrait belongs on About; this hero stays
   focused on the Website Design product and methodology.
   ========================================================= */

.design-founder-card.design-custom-card {
  min-width: 12.5rem;

  justify-content: center;

  padding: .72rem .9rem;
}

.design-founder-card.design-custom-card > div {
  gap: .12rem;
}

.design-founder-card.design-custom-card small {
  color: #00718f;
}

.design-founder-card.design-custom-card strong {
  max-width: 12rem;

  color: #071323;

  font-size: .75rem;
  line-height: 1.18;
}
