/* about.css: About page only (hero + layout), keeps index theme */

/* ---------------- ABOUT HERO (left aligned + hex background) ---------------- */

.about-hero {
  background:
    radial-gradient(1400px 700px at 30% 30%, rgba(255, 255, 255, 0.06), transparent 60%),
    linear-gradient(180deg, #0a1220 0%, #08101a 100%);
  color: #eaf0ff;

  padding: 58px 0 64px;
  min-height: calc(100svh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* Redesigned Premium Decoration pinned to right edge */
.about-hero::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 800px;
  height: 800px;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.1)' stroke-width='1.5'%3E%3Cpath d='M150 100 l40 -23 l40 23 v46 l-40 23 l-40 -23z'/%3E%3Cpath d='M350 180 l60 -34 l60 34 v68 l-60 34 l-60 -34z'/%3E%3Cpath d='M550 100 l40 -23 l40 23 v46 l-40 23 l-40 -23z'/%3E%3Cpath d='M200 350 l80 -46 l80 46 v92 l-80 46 l-80 -46z'/%3E%3Cpath d='M500 380 l100 -57 l100 57 v114 l-100 57 l-100 -57z' /%3E%3Cpath d='M600 580 l60 -34 l60 34 v68 l-60 34 l-60 -34z'/%3E%3C/g%3E%3Cg fill='none' stroke='rgba(98,230,165,0.4)' stroke-width='2'%3E%3Cpath d='M480 220 l40 -23 l40 23 v46 l-40 23 l-40 -23z'/%3E%3Cpath d='M380 420 l30 -17 l30 17 v34 l-30 17 l-30 -17z'/%3E%3Cpath d='M620 350 l30 -17 l30 17 v34 l-30 17 l-30 -17z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(-50%) translateX(0) rotate(0deg); }
  33% { transform: translateY(-52%) translateX(-20px) rotate(1deg); }
  66% { transform: translateY(-48%) translateX(10px) rotate(-1deg); }
}


.about-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  margin-inline: auto !important;
  max-width: 1240px;
  width: min(1240px, calc(100% - 48px));
}

.about-hero-left {
  max-width: 680px;
}

.about-eyebrow {
  color: #62e6a5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 630;
  font-size: 14px;
  margin-bottom: 18px;
}

.about-hero-title {
  font-size: clamp(48px, 4.4vw, 66px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
  font-weight: 750;
}

.about-hero-subtitle {
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 26px;
  color: rgba(234, 240, 255, 0.78);
  max-width: 820px;
}

.about-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  background: #62e6a5;
  color: #0c0f37;
  text-decoration: none;

  padding: 10px 18px;
  /* smaller */
  border-radius: 8px;
  /* tighter corners */

  font-weight: 700;
  /* slightly lighter */
  font-size: 12px;
  /* smaller text */
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


.about-hero-cta:hover {
  filter: brightness(0.96);
  color: #000;
}

.about-hero-cta-caret {
  font-size: 14px;
  transform: translateY(1px);
}

.about-hero-right {
  position: relative;
  height: 390px;
  pointer-events: none;
}

/* Prevent full-height heroes from feeling empty on large desktop monitors. */
@media (min-width: 1600px) {
  .about-hero {
    min-height: min(calc(100svh - 72px), 900px);
  }
}


/* ---------------- TEAM STORY ---------------- */
.leadership-section,
.advisory-section {
  position: relative;
  overflow: hidden;
}

.leadership-section {
  padding-top: 104px;
  padding-bottom: 36px;
  background: linear-gradient(180deg, #08101a 0%, #0b1321 18%, #0c1424 100%);
}

.leadership-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(98, 230, 165, 0.18), transparent);
}

.leadership-section .container,
.advisory-section .container {
  width: min(1160px, calc(100% - 48px));
}

.leadership-section .section-header {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  column-gap: 88px;
  align-items: end;
  max-width: none;
  margin: 0 0 52px;
  text-align: left;
}

.section-kicker {
  grid-column: 1 / -1;
  color: #62e6a5;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.18em;
  margin-bottom: 22px;
}

.leadership-section .section-kicker {
  position: relative;
  justify-self: center;
  padding-inline: 48px;
  text-align: center;
}

.leadership-section .section-kicker::before,
.leadership-section .section-kicker::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: rgba(98, 230, 165, 0.55);
}

.leadership-section .section-kicker::before {
  left: 0;
}

.leadership-section .section-kicker::after {
  right: 0;
}

.leadership-section .section-title,
.advisory-section .section-title {
  margin: 0;
  color: #f7f9ff;
  letter-spacing: -0.035em;
}

.leadership-section .section-title {
  font-size: clamp(42px, 4.2vw, 64px);
  line-height: 1.04;
}

.leadership-section .section-title span {
  color: #62e6a5;
}

.leadership-section .section-description,
.advisory-section .section-description {
  margin: 0;
  color: rgba(234, 240, 255, 0.74);
  line-height: 1.75;
}

.leadership-section .section-description {
  max-width: 610px;
  font-size: 17px;
}

.leadership-section .about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  max-width: 760px;
  margin-inline: auto;
  gap: 28px;
}

.advisory-section {
  padding-top: 44px;
  padding-bottom: 36px;
  background: #09111e;
}

.advisory-section::before {
  display: none;
}

.advisory-section .section-header {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.advisory-section .section-kicker {
  position: relative;
  display: inline-block;
  padding-inline: 48px;
  margin-bottom: 18px;
}

.advisory-section .section-kicker::before,
.advisory-section .section-kicker::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: rgba(98, 230, 165, 0.55);
}

.advisory-section .section-kicker::before {
  left: 0;
}

.advisory-section .section-kicker::after {
  right: 0;
}

.advisory-section .section-title {
  font-size: clamp(36px, 3vw, 46px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.advisory-section .section-description {
  max-width: 680px;
  margin-inline: auto;
  font-size: 16px;
}

.advisory-section .about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  justify-content: center;
  max-width: 1020px;
  margin-inline: auto;
  gap: 24px;
}

.about-grid {
  display: grid;
  gap: 24px;
  margin-inline: auto;
}

.about-person h3 {
  margin: 12px 0 6px;
}

.leadership-section .about-person h3 {
  font-size: 20px;
  margin: 14px 0 4px;
}

.advisory-section .about-person h3 {
  font-size: 18px;
  margin: 12px 0 4px;
}

.about-person .card-float {
  box-sizing: border-box;
}

/* ---------------- ENGINEERING TEAM ---------------- */
.engineering-section {
  position: relative;
  padding: 44px 0 96px;
  background: linear-gradient(180deg, #0b1321 0%, #09111e 100%);
}

.engineering-section::before {
  display: none;
}

.engineering-section .container {
  width: min(1240px, calc(100% - 48px));
}

.engineering-section .section-header {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.engineering-section .section-kicker {
  position: relative;
  display: inline-block;
  padding-inline: 48px;
  margin-bottom: 18px;
}

.engineering-section .section-kicker::before,
.engineering-section .section-kicker::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: rgba(98, 230, 165, 0.55);
}

.engineering-section .section-kicker::before {
  left: 0;
}

.engineering-section .section-kicker::after {
  right: 0;
}

.engineering-section .section-title {
  margin: 0 0 14px;
  color: #f7f9ff;
  font-size: clamp(36px, 3vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.engineering-section .section-description {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(234, 240, 255, 0.74);
  font-size: 16px;
  line-height: 1.7;
}

.engineering-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.engineering-grid .about-person {
  flex: 0 1 220px;
  max-width: 220px;
}

.engineering-grid .card-float {
  padding: 18px;
}

.engineering-grid img.about-img {
  object-position: center top;
}

.engineering-grid .about-person h3 {
  font-size: 16px;
  line-height: 1.25;
  white-space: nowrap;
}

.engineering-grid .about-role {
  font-size: 14px;
}

@media (max-width: 1100px) {
  .engineering-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .engineering-grid .about-person {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .engineering-section {
    padding: 68px 0 76px;
  }

  .engineering-section .container {
    width: min(100% - 32px, 1240px);
  }

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

@media (max-width: 460px) {
  .engineering-grid {
    grid-template-columns: 1fr;
  }
}

.about-role {
  margin: 0;
  opacity: 0.8;
}

.about-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.about-resource-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 10px;
}

.about-date {
  font-size: 13px;
  opacity: 0.75;
  margin: 6px 0 6px;
}

.about-call {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: start;
}

.about-bullets {
  margin: 12px 0 14px;
  padding-left: 18px;
  line-height: 1.6;
}

.about-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.about-form input,
.about-form textarea {
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  padding: 10px 12px;
  outline: none;
  background: #fff;
}

.about-form input:focus,
.about-form textarea:focus {
  border-color: rgba(10, 48, 110, 0.6);
  box-shadow: 0 0 0 3px rgba(10, 48, 110, 0.12);
}

.about-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-form-grid .full {
  grid-column: 1 / -1;
}

.small-muted {
  font-size: 12px;
  opacity: 0.7;
  margin: 10px 0 0;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 980px) {
  .about-hero {
    padding-top: 96px;
    min-height: auto;
  }

  .about-hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .about-hero-right {
    height: 340px;
    margin-top: -40px;
  }

  .about-hero-title {
    font-size: 54px;
  }

  .about-hero-subtitle {
    font-size: 18px;
  }

  .leadership-section .about-grid {
    grid-template-columns: repeat(2, minmax(0, 340px));
    justify-content: center;
    max-width: 720px;
    margin-inline: auto;
    gap: 20px;
  }

  .advisory-section .about-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 310px));
    justify-content: center;
    max-width: 660px;
    margin-inline: auto;
    gap: 20px;
  }

  .leadership-section .section-header {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .leadership-section .section-kicker {
    justify-self: start;
  }

  .leadership-section .section-description {
    max-width: 760px;
  }

  .about-call {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding-top: 88px;
    padding-bottom: 56px;
  }

  .about-hero-inner {
    gap: 12px;
  }

  .about-hero-left {
    max-width: 100%;
  }

  .about-eyebrow {
    font-size: 11px;
    letter-spacing: 0.16em;
    margin-bottom: 14px;
  }

  .about-hero-title {
    font-size: 42px;
    line-height: 1.02;
  }

  .about-hero-subtitle {
    font-size: 17px;
    max-width: 100%;
    margin-bottom: 22px;
  }

  .about-hero-right {
    display: none;
  }

  .leadership-section,
  .advisory-section {
    padding-block: 72px;
  }

  .leadership-section .container,
  .advisory-section .container {
    width: min(100% - 32px, 1160px);
  }

  .leadership-section .section-header {
    margin-bottom: 36px;
    text-align: left;
  }

  .leadership-section .section-kicker {
    justify-self: center;
  }

  .leadership-section .section-description {
    text-align: left;
  }

  .leadership-section .about-grid {
    grid-template-columns: repeat(2, minmax(0, 320px));
    justify-content: center;
    max-width: 660px;
    margin-inline: auto;
    gap: 16px;
  }

  .advisory-section .about-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 300px));
    justify-content: center;
    max-width: 620px;
    margin-inline: auto;
    gap: 16px;
  }

  #start .section-description {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .leadership-section .about-grid {
    grid-template-columns: minmax(0, 360px);
    justify-content: center;
    max-width: 360px;
    margin-inline: auto;
    gap: 20px;
  }

  .advisory-section .about-grid {
    grid-template-columns: minmax(0, 340px);
    justify-content: center;
    max-width: 340px;
    margin-inline: auto;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .about-hero {
    padding-top: 80px;
    padding-bottom: 48px;
  }

  .about-hero-title {
    font-size: 32px;
  }

  .about-hero-subtitle {
    font-size: 16px;
    line-height: 1.5;
  }

  .about-hero-cta {
    padding: 8px 14px;
    font-size: 11px;
  }

  .container {
    padding: 0 1rem;
  }

  .section-title {
    font-size: 34px;
  }

  .section-description {
    font-size: 14px;
    line-height: 1.7;
  }
}

@media (max-width: 368px) {
  .about-hero-title {
    font-size: 26px;
  }

  .about-hero-subtitle {
    font-size: 14px;
  }

}

/* ===== Schedule Call Section ===== */

.schedule-section {
  position: relative;
  overflow: hidden;
  padding: 92px 0 104px;
  background:
    radial-gradient(700px 420px at 8% 42%, rgba(98, 230, 165, 0.07), transparent 68%),
    linear-gradient(180deg, #08101a 0%, #0a1321 100%);
  color: #eaf0ff;
}

.schedule-section::before {
  display: none;
}

.schedule-section::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -260px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(98, 230, 165, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.about-call {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-call-left {
  margin-top: 0;
}

/* Left Content */

.schedule-kicker {
  color: #62e6a5;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.2em;
  margin-bottom: 18px;
}

.schedule-title {
  max-width: 590px;
  font-size: clamp(44px, 4.2vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin: 0 0 24px;
}

.schedule-title span {
  color: #62e6a5;
}

.schedule-desc {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(234, 240, 255, 0.8);
  max-width: 620px;
}

.schedule-bullets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
  color: rgba(234, 240, 255, 0.85);
}

.schedule-bullets li {
  position: relative;
  min-height: 100%;
  padding: 12px 12px 12px 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 14px;
  line-height: 1.45;
}

.schedule-bullets li::before {
  content: "✓";
  position: absolute;
  top: 12px;
  left: 14px;
  color: #62e6a5;
  font-weight: 800;
}

.schedule-footer {
  color: rgba(234, 240, 255, 0.92);
  font-weight: 650;
  margin: 24px 0 0;
}

/* Glass Card */

.schedule-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
  backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 32px;
  margin-top: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35), inset 0 1px rgba(255, 255, 255, 0.05);
}

.schedule-form-header {
  margin-bottom: 24px;
}

.schedule-form-header > span {
  color: #62e6a5;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.18em;
}

.schedule-form-header h3 {
  margin: 8px 0 6px;
  color: #fff;
  font-size: 26px;
  letter-spacing: -0.025em;
}

.schedule-form-header p {
  margin: 0;
  color: rgba(234, 240, 255, 0.62);
  font-size: 13px;
  line-height: 1.5;
}

/* Form */

.schedule-form label {
  font-size: 13px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.schedule-form input,
.schedule-form textarea {
  background: rgba(5, 12, 22, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 14px;
  color: #fff;
}

.schedule-form input:focus,
.schedule-form textarea:focus {
  outline: none;
  border-color: rgba(98, 230, 165, 0.7);
  box-shadow: 0 0 0 3px rgba(98, 230, 165, 0.4);
}

.schedule-form input:-webkit-autofill,
.schedule-form input:-webkit-autofill:hover,
.schedule-form input:-webkit-autofill:focus,
.schedule-form textarea:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px #08121f inset;
  box-shadow: 0 0 0 1000px #08121f inset;
  border-color: rgba(98, 230, 165, 0.45);
}

.schedule-form input:autofill,
.schedule-form textarea:autofill {
  color: #fff;
  background: #08121f;
}

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.schedule-grid .full {
  grid-column: 1 / -1;
}

.schedule-btn {
  margin-top: 16px;
  width: 100%;
  padding: 13px 18px;
  border-radius: 8px;
  background: #62e6a5;
  color: #07111e;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.schedule-btn span {
  margin-left: 6px;
}

.schedule-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* Responsive */

@media (max-width: 900px) {
  .about-call {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-call-left {
    margin-top: 20px;
  }

  .schedule-title {
    font-size: 42px;
  }

  .schedule-desc {
    font-size: 17px;
  }

  .schedule-card {
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .schedule-section {
    padding: 72px 0 80px;
  }

  .schedule-title {
    font-size: 36px;
  }

  .schedule-desc {
    font-size: 16px;
  }

  .schedule-bullets {
    grid-template-columns: 1fr;
    font-size: 15px;
    margin: 16px 0;
  }

  .schedule-footer {
    font-size: 15px;
  }
}

@media (max-width: 520px) {
  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .schedule-title {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .schedule-desc {
    font-size: 14.5px;
  }

  .schedule-bullets {
    font-size: 14px;
    margin: 12px 0;
  }

  .schedule-footer {
    font-size: 14px;
  }

  .schedule-card {
    padding: 20px;
    margin-top: 25px;
  }
}

@media (max-width: 368px) {
  .about-form-grid {
    grid-template-columns: 1fr;
  }

  .schedule-title {
    font-size: 24px;
  }

  .schedule-desc {
    font-size: 13.5px;
  }

  .schedule-bullets {
    font-size: 13px;
  }

  .schedule-footer {
    font-size: 13px;
  }
}

/* Disable the 'Rainbow/Arc' shift for team cards only */
.about-person.card .card-shell {
  --arc-offset: 0px !important;
  transform: translateY(0) !important;
  animation-delay: 0.2s !important;
  /* Make them appear faster */
}

/* Ensure the grid has enough room for the cards */
.about-grid {
  padding-top: 20px;
}

/* Fix for the 1200px jump */
@media (min-width: 1200px) {
  .about-person.card .card-shell {
    --arc-offset: 0px !important;
  }
}

/* ---------------- PERSON BIO MODAL ---------------- */

.about-person.has-bio { cursor: pointer; transition: transform .15s ease; }
.about-person.has-bio:hover { transform: translateY(-3px); }

.person-modal { display: none; position: fixed; inset: 0; z-index: 1000;
  align-items: center; justify-content: center; }
.person-modal.active { display: flex; }
.person-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }

.person-modal-card { position: relative; background: #fff; max-width: 480px; width: 90%;
  padding: 2rem; border-radius: 12px; text-align: center; }

.person-modal-close { position: absolute; top: 12px; right: 14px; border: 0;
  background: none; font-size: 26px; line-height: 1; cursor: pointer; color: #111; }

.person-modal-img { width: 96px; height: 96px; border-radius: 50%;
  object-fit: cover; display: block; margin: 0 auto 12px; }

/* hide the broken-image icon when no photo is set yet */
.person-modal-img[src=""],
.person-modal-img:not([src]) { display: none; }

.person-modal-name { color: #111 !important; margin: 0; }
.person-modal-role { color: #555 !important; margin: 4px 0 0; }
.person-modal-bio  { color: #333 !important; margin-top: 1rem; line-height: 1.7; text-align: left; }
