:root { --blue-fade: linear-gradient(145deg, #0a1e39, #21467e 58%, #365fa5); }

.draft-header, .draft-footer {
  color: #102542;
  background: #fff;
  font: 1rem/1.5 "Open Sans", Arial, sans-serif;
}
.draft-header { border-bottom: 1px solid #dce5ee; }
.draft-wrap { width: min(100% - 3rem, 74rem); margin-inline: auto; }
.draft-header .draft-wrap {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.draft-header img { display: block; width: clamp(9rem, 17vw, 13rem); height: auto; }
.draft-header nav, .draft-footer nav { display: flex; flex-wrap: wrap; gap: .55rem 1.25rem; }
.draft-header nav a, .draft-footer nav a { color: inherit; text-decoration: none; font-weight: 650; }
.draft-header nav a:hover, .draft-footer nav a:hover { text-decoration: underline; }
.draft-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: .5rem .85rem;
  border-radius: .5rem;
  background: #3157d7;
  color: white;
  font: 750 .9rem/1.35 "Open Sans", Arial, sans-serif;
  text-decoration: none;
  text-align: center;
}
.draft-book:hover { background: #2344b9; color: white; }
.draft-footer {
  color: #102542;
  background: #fff;
  padding-block: 3rem 1.25rem;
  font-size: .95rem;
}
.draft-footer .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.draft-footer .footer-logo { display: inline-block; }
.draft-footer .footer-logo img { display: block; width: min(100%, 13rem); height: auto; }
.draft-footer .footer-brand p { margin: .55rem 0 1rem; max-width: 22ch; }
.draft-footer .draft-book { background: #3157d7; color: white; }
.draft-footer .draft-book:hover { background: #2344b9; }
.draft-footer .footer-whatsapp { display: inline-block; margin-top: .55rem; color: #244ab7; text-decoration: underline; text-underline-offset: .2em; }
.draft-footer .footer-email { display: block; margin-top: .75rem; color: #244ab7; overflow-wrap: anywhere; }
.draft-footer .footer-grid nav { display: grid; align-content: start; justify-items: start; gap: .55rem; }
.draft-footer .footer-grid h3 { margin: 0 0 .25rem; color: #000; font: 800 1rem/1.35 "Open Sans", Arial, sans-serif; }
.draft-footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .7rem 1.5rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #dce5ee;
}
.draft-footer .footer-bottom p { margin: 0; }
.draft-footer a:focus-visible { outline: 3px solid #3157d7; outline-offset: 4px; }
@media (max-width: 820px) {
  .draft-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.7rem 1.2rem; }
}
@media (max-width: 420px) {
  .draft-footer .footer-brand { grid-column: 1 / -1; }
}
.draft-enquiry { padding: 1.5rem; background: #f1f7fc; color: #102542; }
.draft-enquiry p { margin: 0 0 .75rem; }
@media (max-width: 760px) {
  .draft-wrap { width: calc(100% - 2rem); }
  .draft-header .draft-wrap { flex-wrap: wrap; padding-block: .7rem; }
  .draft-header nav { order: 1; flex-basis: 100%; gap: .45rem 1rem; }
}
.site-stats { border-bottom: 1px solid #dce5ee; background: white; color: #465b74; }
.site-stats .site-stats-inner {
  width: min(100% - 3rem, 74rem);
  margin-inline: auto;
  padding-block: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  text-align: center;
  font: .9rem/1.65 "Open Sans", Arial, sans-serif;
}
.site-stats strong { color: #102542; }
.site-stats span + span { border-left: 1px solid #dce5ee; }
@media (max-width: 650px) {
  .site-stats .site-stats-inner { width: calc(100% - 2rem); grid-template-columns: 1fr; gap: .55rem; text-align: left; }
  .site-stats span + span { border-left: 0; }
}
:root {
  --site-hero-height: 25rem;
  --site-hero-padding-top: 2rem;
  --site-hero-padding-bottom: 2rem;
}
@media (max-width: 650px) {
  :root {
    --site-hero-height: 27rem;
    --site-hero-padding-top: 1.75rem;
    --site-hero-padding-bottom: 8.5rem;
  }
}

main .interior-hero h1 em {
  display: block;
  color: #a9e5f7;
  font-style: normal;
}

.site-design main > header.interior-hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  padding: 0;
  background: var(--blue-fade);
  color: white;
}
.interior-inner {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(100% - 3rem, 74rem);
  margin-inline: auto;
  min-height: var(--site-hero-height);
  padding-block: var(--site-hero-padding-top) var(--site-hero-padding-bottom);
  display: flex;
  align-items: center;
}
.interior-copy { width: min(100%, 40rem); }
.interior-hero .interior-label {
  margin: 0 0 .6rem;
  color: #a9e5f7;
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.site-design .interior-hero h1 {
  margin: 0;
  color: white;
  font-family: inherit;
  font-size: clamp(2.15rem, 3.65vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.12;
  text-wrap: pretty;
}
.interior-hero .interior-lead {
  max-width: 32rem;
  margin: .95rem 0 0;
  color: #e2ecf8;
  font-size: 1.05rem;
  line-height: 1.65;
}
.interior-photo { position: absolute; z-index: 0; inset: 0 0 0 25%; }
.interior-photo img { width: 100%; height: 100%; display: block; max-width: none; object-fit: cover; object-position: right center; }
.interior-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0a1e39 3%, #0a1e39f2 36%, #0a1e3933 80%);
}
.interior-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.05rem; margin-top: 1.25rem; }
.interior-hero .interior-primary {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: .55rem 1rem;
  border-radius: .5rem;
  color: #102542;
  background: #a9e5f7;
  text-decoration: none;
  font-weight: 750;
}
.interior-hero .interior-primary:hover { background: #d1f4ff; }
.interior-hero .interior-secondary, .interior-hero .interior-back { color: white; text-decoration: underline; text-underline-offset: .2em; }
.interior-back { display: inline-block; margin-bottom: .85rem; }
.interior-hero :focus-visible { outline-color: #a9e5f7; }
.interior-text .interior-copy { width: min(100%, 48rem); }
@media (max-width: 650px) {
  .interior-inner { width: calc(100% - 2rem); align-items: flex-start; }
  .interior-text .interior-inner { padding-bottom: var(--site-hero-padding-top); }
  .interior-photo { inset: auto 0 0; height: 13rem; }
  .interior-photo::after { background: linear-gradient(180deg, #0a1e39, #0a1e3999 38%, transparent 82%); }
  .site-design .interior-hero h1 { font-size: clamp(1.85rem, 6.8vw, 2.4rem); }
}

/* Imported pages have their own typography rules. Keep shared text aligned with the homepage. */
body.site-design,
body.site-design main .portfolio :is(h1,h2,h3,h4,p,a,li,label,button,input,select,textarea,summary,th,td,strong,em) {
  font-family: "Open Sans", Arial, sans-serif !important;
}
.homepage { --section-heading-adjustment: -3pt; }
body.site-design main h2:not(.portfolio-intro h2) {
  font-size: calc(clamp(2rem, 4vw, 3.35rem) - 3pt + var(--section-heading-adjustment, 0px)) !important;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.035em;
}
body.site-design main h3 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.025em;
}
body.site-design main .portfolio :is(a.button,a.btn,button.button) {
  border-radius: .5rem;
  font-weight: 750;
}
body.site-design .draft-footer {
  font-family: "Open Sans", Arial, sans-serif !important;
  background: #fff;
  color: #102542;
  border: 0;
  border-top: 1px solid #dce5ee;
}
body.site-design .draft-footer nav {
  position: static;
  background: transparent;
  border: 0;
  color: inherit;
}
body.site-design .draft-footer nav a { color: #244ab7; }
body.site-design .draft-footer .footer-grid nav a { color: #000; }
body.site-design .draft-footer .draft-book { color: white; }

body.site-design .draft-footer .footer-bottom a {
  text-decoration: underline;
  text-underline-offset: .2em;
}
body.site-design .draft-footer .footer-bottom a:hover,
body.site-design .draft-footer .footer-bottom a[aria-current="page"] {
  color: #102542;
}

.site-design main .testimonial-quote {
  margin: 1.25rem 0 0;
  padding: clamp(1rem, 3vw, 1.75rem);
  border-left: 3px solid #3157d7;
  background: #f1f7fc;
}
.testimonial-quote blockquote,
.testimonial-quote blockquote p { margin: 0; }
.testimonial-quote figcaption { margin-top: .65rem; color: #244ab7; font-weight: 750; }

.portfolio-image { min-width: 0; margin: 0; }
.portal-preview {
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 16 / 10;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  padding: clamp(.35rem, 1vw, .75rem);
  background: radial-gradient(ellipse at 92% 8%, #cbdff9, transparent 63%), #eaf3fc;
}
.portal-window {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  padding: .3rem;
  border: 1px solid #fff;
  border-radius: .75rem;
  background: #fff;
  box-shadow: 0 .45rem 1.15rem #264e8033;
}
.portal-toolbar {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .4rem .45rem;
  color: #102542;
  font: 750 .95rem/1 "Open Sans", Arial, sans-serif;
}
.portal-toolbar span {
  display: grid;
  place-items: center;
  width: 1.45rem;
  min-height: 1.45rem;
  border-radius: .28rem;
}
.portal-toolbar span:first-child { background: #3157d7; color: white; }
.portal-toolbar .portal-profile { margin-left: auto; background: #e8f0fb; border-radius: 50%; font-size: .75rem; }
.portal-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: .6rem .65rem;
  border-radius: .38rem;
  background: linear-gradient(155deg, #102542 52%, #204f9b);
  color: white;
  font: 800 clamp(.82rem, 1.5vw, 1.13rem)/1.25 "Open Sans", Arial, sans-serif;
}
.portal-screen {
  position: relative;
  min-height: 0;
  margin: .4rem 0 0;
  overflow: hidden;
  border-radius: .35rem;
  background: #f3f7fc;
}
.portal-preview .portal-screen img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: left top;
}

.portal-preview-neutral { background: white; }
.portal-preview-neutral .portal-screen { background: white; }

.draft-header .draft-menu-toggle { display: none; }

@media (max-width: 760px) {
  .site-design .draft-header .draft-wrap { gap: .5rem .65rem; }
  .draft-header .brand { width: auto; }
  .site-design .draft-header img { width: min(33vw, 11rem); }
  .site-design .draft-header .draft-book { order: 0; min-height: 2.75rem; white-space: nowrap; padding-inline: .55rem; }
  .site-design .draft-header .draft-menu-toggle:not([hidden]) {
    order: 1;
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: .4rem .65rem;
    border: 1px solid #b7c8dd;
    border-radius: .5rem;
    background: white;
    color: #102542;
    font: 700 .9rem/1.35 "Open Sans", Arial, sans-serif;
    cursor: pointer;
  }
  .site-design .draft-header #site-navigation {
    order: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .25rem .6rem;
    padding-top: .5rem;
    background: white;
    border: 0;
  }
  .site-design .draft-header #site-navigation[data-mobile-open="false"] { display: none; }
  .site-design .draft-header #site-navigation a { display: flex; align-items: center; min-height: 2.75rem; padding: .4rem .5rem; }

  .site-design .interior-inner {
    width: calc(100% - 2rem);
    min-height: 0;
    padding-block: 1.65rem 1.25rem;
  }
  .site-design .interior-text .interior-inner { padding-block: 1.65rem 1.75rem; }
  .site-design .interior-photo {
    position: relative;
    inset: auto;
    height: clamp(11rem, 55vw, 16rem);
    overflow: hidden;
  }
  .site-design .interior-photo::after { background: linear-gradient(180deg, #0a1e39, transparent 25%); }
  .site-design .interior-photo.homepage-hero-art img { right: 3%; }
  .site-design .interior-hero .interior-secondary { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .site-design .draft-footer .footer-grid { gap: 1.4rem 1rem; }
  .site-design .draft-footer nav a { min-height: 2.75rem; display: inline-flex; align-items: center; }
}

.interior-photo.homepage-hero-art img {
  position: absolute;
  right: 0;
  width: auto;
  height: 100%;
  max-width: none;
}


#services-title,
#build-title,
#testimonial-title,
.faq h2,
#contact-title { --section-heading-adjustment: -5pt; }

@media (hover: hover) {
  .service:hover { background: #e5efff; box-shadow: inset 3px 0 var(--blue); }
  .audience-list li:hover { background: #f1f7fc; }
  .projects .portfolio-image:hover .portal-window { box-shadow: 0 .45rem 1.15rem #264e8066; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service { transition: background-color .18s ease, box-shadow .18s ease; }
  .audience-list li { transition: background-color .18s ease; }
  .audience-icon, .projects .portal-screen img { transition: transform .22s ease; }
  .audience-list li:hover .audience-icon { transform: translateY(-2px); }
  .projects .portfolio-image:hover .portal-screen img { transform: scale(1.035); }
}


@media (min-width: 851px) {
  .interior-photo.homepage-hero-art img { right: clamp(2rem, 6vw, 6rem); }
}

.site-design main > .interior-hero:has(> .homepage-hero-art) {
  background: #041c3e;
}
.interior-photo.homepage-hero-art {
  mask-image: linear-gradient(90deg, transparent, black 12%);
}
.interior-photo.homepage-hero-art::after { content: none; }
.interior-photo.homepage-hero-art img {
  mask-image: linear-gradient(90deg, transparent, black 5%, black 97%, transparent),
              linear-gradient(180deg, transparent, black 5%, black 92%, transparent);
  mask-composite: intersect;
}

.build-example-image {
  width: 85%;
  justify-self: start;
  height: auto;
  border-radius: .75rem;
  margin-bottom: .35rem;
}


.site-design .contact-inner {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(1.75rem, 5vw, 4.5rem);
}
.contact-copy { padding-top: .5rem; }
.contact-copy p { margin-bottom: 1.4rem; }
.contact-form {
  min-width: 0;
  padding: clamp(1rem, 3vw, 1.75rem);
  border-radius: .75rem;
  color: #102542;
  background: white;
}
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1rem; }
.contact-fields label { display: block; min-width: 0; font-weight: 700; }
.contact-fields .optional { color: #465b74; font-weight: 400; }
.contact-fields input, .contact-fields select, .contact-fields textarea {
  display: block;
  width: 100%;
  min-height: 2.75rem;
  margin-top: .35rem;
  padding: .5rem .65rem;
  border: 1px solid #aebfd3;
  border-radius: .4rem;
  background: white;
  color: #102542;
  font: inherit;
  font-weight: 400;
}
.contact-fields select {
  appearance: none;
  padding-right: 1.75rem;
  background: linear-gradient(45deg, transparent 50%, #465b74 50%) right .95rem center / .35rem .35rem no-repeat,
              linear-gradient(135deg, #465b74 50%, transparent 50%) right .6rem center / .35rem .35rem no-repeat white;
}
.contact-fields textarea { resize: vertical; }
.contact-message { grid-column: 1 / -1; }
.contact .contact-form .button {
  margin: 1rem .75rem 0 0;
  border-color: #3157d7;
  background: #3157d7;
  color: white;
  cursor: pointer;
}
.contact .contact-form .button:hover { background: #2344b9; }
.contact-privacy { display: inline-block; margin-top: .5rem; color: #244ab7; }
.contact-form :is(input, select, textarea, button, a):focus-visible {
  outline: 3px solid #3157d7;
  outline-offset: 3px;
}
@media (max-width: 820px) {
  .site-design .contact-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .contact-fields { grid-template-columns: minmax(0, 1fr); }
}


body.site-design .page-cta-title,
body.site-design .pricing-contact h2 { --section-heading-adjustment: -5pt; }

.site-design main > .interior-hero.layered-hero { background: var(--blue-fade); }
.layered-hero .interior-photo.homepage-hero-art { mask-image: none; }
.layered-hero .interior-photo.homepage-hero-art img {
  mask-image: none;
  /* Follow the laptop silhouette and the two floating icons in the source image. */
  clip-path: polygon(
    51.132% 11.852%, 51.235% 10.617%, 51.543% 9.630%, 52.058% 9.136%,
    55.864% 9.136%, 56.379% 9.630%, 56.687% 10.370%, 56.893% 11.852%,
    56.893% 13.086%, 91.461% 13.086%, 92.078% 13.580%, 92.593% 14.815%,
    92.798% 16.543%, 92.798% 54.568%, 93.930% 54.568%, 94.650% 55.309%,
    95.062% 56.790%, 95.062% 66.173%, 94.753% 67.654%, 94.136% 68.395%,
    92.798% 68.395%, 92.798% 75.309%, 95.782% 82.963%, 95.988% 84.198%,
    95.885% 85.679%, 95.165% 86.420%, 52.160% 86.420%, 51.440% 85.926%,
    51.337% 84.938%, 51.440% 83.457%, 55.144% 75.309%, 55.144% 22.963%,
    52.160% 22.963%, 51.543% 22.222%, 51.235% 21.235%, 51.132% 20.000%
  );
}
