/* =========================================================
   WEBSTING ABOUT PAGE ONLY
   Company story, principles, and point of view.
   Service details belong on services.php.
   ========================================================= */

.about-page {
  --about-purple: 176, 144, 255;
  --about-teal: 45, 212, 191;
  --about-blue: 91, 167, 255;
  --about-pink: 255, 132, 204;
}

.about-page [data-accent="blue"] {
  --accent-rgb: var(--about-blue);
}

.about-page [data-accent="pink"] {
  --accent-rgb: var(--about-pink);
}

/* Hero */
.about-hero {
  overflow: hidden;
}

.about-hero-layout,
.story-layout,
.next-web-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.about-hero h1 span {
  display: block;
  background: linear-gradient(90deg, #9cebdd 0%, #b090ff 48%, #82c6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1.35rem;
}

.about-proof-row > div {
  min-height: 100%;
  padding: .9rem .95rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background:
    radial-gradient(circle at 10% 0%, rgba(176, 144, 255, .12), transparent 55%),
    rgba(255, 255, 255, .035);
}

.about-proof-row strong,
.about-proof-row span {
  display: block;
}

.about-proof-row strong {
  color: #fff;
  font-family: var(--font-heading);
  font-size: .94rem;
}

.about-proof-row span {
  margin-top: .25rem;
  color: var(--text-dim);
  font-size: .72rem;
  line-height: 1.45;
}

.about-hero-media,
.next-web-media {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(176, 144, 255, .27), transparent 38%),
    radial-gradient(circle at 92% 85%, rgba(45, 212, 191, .18), transparent 42%),
    rgba(255, 255, 255, .052);
}

.about-hero-media::before,
.next-web-media::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -55px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(91, 167, 255, .15);
  filter: blur(4px);
}

.about-hero-media {
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  align-self: start;
  padding: 1rem;
}

.about-hero-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 22px;
}

.about-hero-media figcaption {
  position: absolute;
  z-index: 2;
  right: 1.75rem;
  bottom: 1.75rem;
  max-width: 300px;
  padding: .9rem 1rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(6, 6, 15, .86);
  backdrop-filter: blur(16px);
}

.about-hero-media figcaption span,
.about-hero-media figcaption strong {
  display: block;
}

.about-hero-media figcaption span {
  color: #8ef3df;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.about-hero-media figcaption strong {
  margin-top: .25rem;
  color: #fff;
  line-height: 1.45;
}

/* Story */
.story-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 18%, rgba(45, 212, 191, .085), transparent 31%),
    radial-gradient(circle at 92% 84%, rgba(91, 167, 255, .08), transparent 34%);
}

.story-section::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -220px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(176, 144, 255, .12);
  border-radius: 50%;
  box-shadow:
    0 0 0 38px rgba(176, 144, 255, .025),
    0 0 0 76px rgba(45, 212, 191, .018);
  pointer-events: none;
}

.story-layout {
  align-items: start;
}

.story-copy {
  position: sticky;
  top: 7.5rem;
}

.story-copy h2 {
  max-width: 13ch;
}

.story-lead {
  color: #fff;
  font-size: clamp(1.1rem, 2.3vw, 1.35rem);
  line-height: 1.55;
}

.about-quote {
  position: relative;
  margin: 1.75rem 0 0;
  padding: 1.25rem 1.3rem 1.25rem 3.4rem;
  border: 1px solid rgba(176, 144, 255, .2);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(176, 144, 255, .17), transparent 46%),
    rgba(255, 255, 255, .036);
}

.about-quote > span {
  position: absolute;
  top: .5rem;
  left: 1rem;
  color: #b090ff;
  font-family: Georgia, serif;
  font-size: 3.4rem;
  line-height: 1;
}

.about-quote p {
  margin: 0;
  color: rgba(255, 255, 255, .92);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

.story-path {
  position: relative;
  display: grid;
  gap: 1rem;
}

.story-path::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  bottom: 1.2rem;
  left: 1.25rem;
  width: 1px;
  background: linear-gradient(
    rgba(45, 212, 191, .65),
    rgba(176, 144, 255, .6),
    rgba(91, 167, 255, .65)
  );
}

.story-path article {
  position: relative;
  margin-left: 3rem;
  padding: 1.25rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  background:
    radial-gradient(circle at 0% 0%, rgba(91, 167, 255, .09), transparent 42%),
    rgba(255, 255, 255, .035);
  transition: transform .28s ease, border-color .28s ease;
}

.story-path article:hover {
  transform: translateX(7px);
  border-color: rgba(176, 144, 255, .34);
}

.story-path article::before {
  content: attr(data-stage);
  position: absolute;
  top: 1rem;
  left: -3rem;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(45, 212, 191, .42);
  border-radius: 50%;
  background: #090915;
  color: #8ef3df;
  font-size: .7rem;
  font-weight: 850;
}

.story-path span {
  color: #8ef3df;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.story-path h3 {
  margin: .45rem 0 .45rem;
  font-size: 1.05rem;
}

.story-path p {
  margin: 0;
  color: var(--text-dim);
}


/* Verified history */
.history-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(176, 144, 255, .09), transparent 30%),
    radial-gradient(circle at 91% 86%, rgba(45, 212, 191, .08), transparent 34%),
    rgba(8, 8, 20, .72);
}

.history-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(176, 144, 255, .35), rgba(45, 212, 191, .35), transparent);
}

.history-heading {
  max-width: 860px;
}

.history-heading h2 {
  max-width: 20ch;
}

.history-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.history-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.35rem, 3vw, 1.9rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(var(--accent-rgb, 176, 144, 255), .18), transparent 42%),
    rgba(255, 255, 255, .038);
  transition: transform .28s ease, border-color .28s ease;
}

.history-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(var(--accent-rgb, 176, 144, 255), .16);
  border-radius: 50%;
  pointer-events: none;
}

.history-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--accent-rgb, 176, 144, 255), .38);
}

.history-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.25rem;
  min-height: 2.35rem;
  padding: .45rem .8rem;
  border: 1px solid rgba(var(--accent-rgb, 176, 144, 255), .38);
  border-radius: 999px;
  background: rgba(var(--accent-rgb, 176, 144, 255), .1);
  color: rgb(var(--accent-rgb, 176, 144, 255));
  font-family: var(--font-heading);
  font-size: .88rem;
  font-weight: 850;
}

.history-label,
.history-context-label {
  margin: 1rem 0 0;
  color: rgb(var(--accent-rgb, 176, 144, 255));
  font-size: .69rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.history-card h3 {
  max-width: 25ch;
  margin: .48rem 0 .62rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.history-card > p:not(.history-label) {
  margin: 0 0 1.15rem;
  color: var(--text-dim);
}

.history-source-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  gap: .38rem;
  align-items: center;
  margin-top: auto;
  color: rgb(var(--accent-rgb, 176, 144, 255));
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
}

.history-source-link:hover,
.history-source-link:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.history-context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.history-context-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.history-context-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 1.3rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(var(--accent-rgb, 176, 144, 255), .14), transparent 38%),
    rgba(255, 255, 255, .032);
}

.history-context-icon {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border: 1px solid rgba(var(--accent-rgb, 176, 144, 255), .36);
  border-radius: 50%;
  background: rgba(var(--accent-rgb, 176, 144, 255), .1);
  color: rgb(var(--accent-rgb, 176, 144, 255));
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 850;
}

.history-context-card h3 {
  margin: .35rem 0 .5rem;
  font-size: 1.1rem;
}

.history-context-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: .9rem;
}

.history-context-card .history-context-label {
  margin-top: 0;
}

.history-context-source {
  margin-top: .85rem;
}

.history-context-card .history-disclaimer {
  margin-top: .72rem;
  padding-top: .72rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .78rem;
}

/* Principles */
.approach-section {
  background:
    radial-gradient(circle at 12% 15%, rgba(176, 144, 255, .08), transparent 30%),
    radial-gradient(circle at 88% 82%, rgba(45, 212, 191, .075), transparent 33%);
}

.approach-heading {
  max-width: 820px;
}

.approach-heading h2 {
  max-width: 18ch;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.principle-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  min-height: 100%;
  padding: clamp(1.35rem, 3vw, 1.9rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(var(--accent-rgb, 176, 144, 255), .2), transparent 42%),
    rgba(255, 255, 255, .04);
  transition: transform .28s ease, border-color .28s ease;
}

.principle-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -38px;
  width: 115px;
  height: 115px;
  border: 1px solid rgba(var(--accent-rgb, 176, 144, 255), .17);
  border-radius: 50%;
}

.principle-card:hover {
  transform: translateY(-7px);
  border-color: rgba(var(--accent-rgb, 176, 144, 255), .42);
}

.principle-number {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgba(var(--accent-rgb, 176, 144, 255), .4);
  border-radius: 50%;
  background: rgba(var(--accent-rgb, 176, 144, 255), .11);
  color: rgb(var(--accent-rgb, 176, 144, 255));
  font-weight: 850;
}

.principle-label {
  margin: 0;
  color: rgb(var(--accent-rgb, 176, 144, 255));
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.principle-card h3 {
  max-width: 23ch;
  margin: .45rem 0 .6rem;
}

.principle-card p:last-child {
  margin-bottom: 0;
}

/* The next web */
.next-web-section {
  background:
    radial-gradient(circle at 9% 78%, rgba(255, 132, 204, .055), transparent 30%),
    radial-gradient(circle at 92% 18%, rgba(91, 167, 255, .08), transparent 31%);
}

.next-web-media {
  min-height: 470px;
  padding: 1rem;
}

.next-web-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 438px;
  border-radius: 22px;
  object-fit: cover;
}

.media-status-card {
  position: absolute;
  z-index: 2;
  right: 1.7rem;
  bottom: 1.7rem;
  left: 1.7rem;
  display: flex;
  gap: .8rem;
  align-items: center;
  padding: .9rem 1rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(6, 6, 15, .84);
  backdrop-filter: blur(16px);
}

.status-dot {
  width: .7rem;
  height: .7rem;
  flex: 0 0 .7rem;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 0 7px rgba(45, 212, 191, .11);
}

.media-status-card strong,
.media-status-card span {
  display: block;
}

.media-status-card strong {
  color: #fff;
}

.media-status-card span {
  margin-top: .15rem;
  color: var(--text-dim);
  font-size: .8rem;
}

.next-web-copy h2 {
  max-width: 17ch;
}

.capability-list {
  display: grid;
  gap: .75rem;
  margin: 1.5rem 0 1.7rem;
}

.capability-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .9rem;
  align-items: start;
  padding: .9rem 1rem;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 16px;
  background: rgba(255, 255, 255, .03);
}

.capability-list article > span {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 12px;
  background: rgba(45, 212, 191, .1);
  color: #8ef3df;
  font-size: .7rem;
  font-weight: 850;
}

.capability-list h3 {
  margin: 0 0 .25rem;
  font-size: 1rem;
}

.capability-list p {
  margin: 0;
  color: var(--text-dim);
  font-size: .86rem;
}

/* Independent provider note */
.independence-section {
  padding-top: clamp(1rem, 3vw, 2rem);
  padding-bottom: clamp(1rem, 3vw, 2rem);
}

.independence-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 1.25rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(91, 167, 255, .14), transparent 38%),
    rgba(255, 255, 255, .032);
}

.note-icon {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 1px solid rgba(91, 167, 255, .35);
  border-radius: 50%;
  background: rgba(91, 167, 255, .1);
  color: #9dc9ff;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 800;
}

.independence-note h2 {
  margin: 0 0 .3rem;
  font-size: 1.12rem;
}

.independence-note p {
  margin: 0;
  color: var(--text-dim);
  font-size: .9rem;
}

/* Final CTA */
.about-final-cta {
  background:
    radial-gradient(circle at 10% 10%, rgba(176, 144, 255, .24), transparent 38%),
    radial-gradient(circle at 90% 85%, rgba(45, 212, 191, .16), transparent 42%),
    rgba(255, 255, 255, .055);
}

/* Hero alignment matches the rest of the website. */
@media (min-width: 901px) {
  body.about-page main#main-content > .about-hero {
    padding-top: 3.6rem !important;
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  body.about-page main#main-content > .about-hero {
    padding-top: 2.7rem !important;
  }
}

@media (max-width: 64rem) {
  .about-hero-layout,
  .story-layout,
  .next-web-layout {
    grid-template-columns: 1fr;
  }

  .story-copy {
    position: static;
  }

  .next-web-media {
    min-height: 390px;
  }

  .next-web-media img {
    min-height: 358px;
  }
}

@media (max-width: 48rem) {
  .about-proof-row,
  .principle-grid,
  .history-proof-grid,
  .history-context-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-media figcaption {
    right: 1.2rem;
    bottom: 1.2rem;
    left: 1.2rem;
    max-width: none;
  }

  .principle-card {
    grid-template-columns: 1fr;
  }

  .next-web-media,
  .next-web-media img {
    min-height: 310px;
  }

  .media-status-card {
    right: 1.2rem;
    bottom: 1.2rem;
    left: 1.2rem;
  }
}

@media (max-width: 700px) {
  body.about-page main#main-content > .about-hero {
    padding-top: .35rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-path article,
  .principle-card,
  .history-card {
    transition: none;
  }
}
