/* =========================================================
   ABOUT — MEET THE ENGINEER
========================================================= */

.about-section {
  position: relative;
  overflow: hidden;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.about-heading {
  max-width: 900px;
  margin-bottom: 4rem;
}

.about-heading .eyebrow {
  margin-bottom: 1rem;
}

.about-heading h2 {
  margin-bottom: 1rem;
}

.about-name {
  margin: 0;

  color: var(--muted);

  font-family: "Kalam", cursive;
  font-size: clamp(1.4rem, 2.5vw, 2rem);

  letter-spacing: 0.01em;
}


/* =========================================================
   MAIN ABOUT LAYOUT
========================================================= */

.about-content {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

/* =========================================================
   CLOC MONOGRAM
========================================================= */

.about-monogram {
  position: relative;

  display: grid;
  place-items: center;

  aspect-ratio: 1;

  width: min(100%, 220px);

  border: 1px solid var(--border);

  border-radius: 50%;

  background:
    radial-gradient(
      circle at 35% 30%,
      rgba(255, 255, 255, 0.55),
      transparent 55%
    ),
    var(--surface);

  box-shadow: var(--shadow);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}


/* Outer laboratory ring */

.about-monogram::before {
  content: "";

  position: absolute;

  inset: -14px;

  border: 1px dashed var(--border);

  border-radius: 50%;

  opacity: 0.8;

  animation: cloc-ring 18s linear infinite;
}


.about-monogram::after {
  content: "";

  position: absolute;

  width: 8px;
  height: 8px;

  top: -18px;
  left: 50%;

  transform: translateX(-50%);

  border-radius: 50%;

  background: var(--accent);

  box-shadow:
    0 0 0 5px rgba(214, 140, 115, 0.12),
    0 0 20px rgba(214, 140, 115, 0.35);
}


.about-monogram span {
  font-family: "Syne", sans-serif;

  font-size: clamp(2rem, 4vw, 3.5rem);

  font-weight: 700;

  letter-spacing: -0.08em;

  color: var(--text);
}


@keyframes cloc-ring {

  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }

}


/* =========================================================
   ABOUT STORY
========================================================= */

.about-story {
  max-width: 720px;
}


.about-intro {
  font-size: clamp(1.35rem, 2.4vw, 2rem);

  line-height: 1.45;

  color: var(--text);

  margin-bottom: 1.5rem;
}


.about-intro strong {
  color: var(--text);

  font-family: "Syne", sans-serif;

  font-weight: 700;
}


.about-parenthetical {
  color: var(--muted);

  font-family: "Kalam", cursive;

  font-size: 0.9em;
}


.about-story > p:not(.about-intro) {
  max-width: 650px;

  font-size: clamp(1.05rem, 1.5vw, 1.25rem);

  line-height: 1.75;
}


/* =========================================================
   PRINCIPLES
========================================================= */

.about-principles {
  display: grid;

  gap: 1rem;

  margin-top: 3rem;
}


.about-principle {
  display: grid;

  grid-template-columns: 42px 1fr;

  gap: 1rem;

  padding: 1.25rem 0;

  border-top: 1px solid var(--border);
}


.about-principle:last-child {
  border-bottom: 1px solid var(--border);
}


.about-principle-number {
  color: var(--accent);

  font-family: "Syne", sans-serif;

  font-size: 2rem;

  font-weight: 700;

  letter-spacing: 0.08em;
}


.about-principle h3 {
  margin-bottom: 0.35rem;

  font-size: 1.2rem;

  letter-spacing: -0.025em;
}


.about-principle p {
  margin: 0;

  font-size: 0.95rem;

  line-height: 1.6;
}


/* =========================================================
   SIGNATURE / CLOSING
========================================================= */

.about-signature {
  margin-top: 3rem;

  padding-top: 1.5rem;

  position: relative;
}


.signature-line {
  display: block;

  width: 70px;

  height: 2px;

  margin-bottom: 1.25rem;

  background:
    linear-gradient(
      90deg,
      var(--accent),
      var(--accent-two),
      var(--accent-three)
    );

  border-radius: 999px;
}


.about-signature p {
  margin-bottom: 0.35rem;

  font-family: "Kalam", cursive;

  font-size: 1.15rem;

  color: var(--muted);
}


.about-signature .about-punchline {
  margin-top: 0.75rem;

  font-family: "Syne", sans-serif;

  font-size: clamp(1.5rem, 3vw, 2.4rem);

  font-weight: 700;

  letter-spacing: -0.045em;

  color: var(--text);
}


.about-punchline span {
  color: var(--accent-three);
}

.about-clock-note {
  margin-top: 0.5rem;

  color: var(--muted);

  font-family: "Kalam", cursive;

  font-size: 1.05rem;

  opacity: 0.85;
}

/* =========================================================
   DARK MODE
========================================================= */

html[data-theme="dark"] .about-monogram {
  background:
    radial-gradient(
      circle at 35% 30%,
      rgba(255, 255, 255, 0.08),
      transparent 55%
    ),
    var(--surface);
}


html[data-theme="dark"] .about-monogram::after {
  box-shadow:
    0 0 0 5px rgba(214, 140, 115, 0.08),
    0 0 24px rgba(214, 140, 115, 0.3);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 800px) {

  .about-content {
    grid-template-columns: 1fr;

    gap: 3rem;
  }

  .about-monogram {
    width: 150px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

  .about-heading {
    margin-bottom: 3rem;
  }

  .about-heading h2 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .about-name {
    font-size: 1.35rem;
  }

  .about-content {
    gap: 2.5rem;
  }

  .about-monogram {
    width: 120px;
  }

  .about-monogram span {
    font-size: 2rem;
  }

  .about-principle {
    grid-template-columns: 32px 1fr;
    gap: 0.75rem;
  }

  .about-signature {
    margin-top: 2.5rem;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  .about-monogram::before {
    animation: none;
  }

}