:root {
  --about-bg: #f7f5f0;
  --about-ink: #161a2e;
  --about-white: #ffffff;
  --about-lavender: #dfe6fb;
  --about-lavender-soft: #eef2fd;
  --about-periwinkle: #2b4fd8;
  --about-periwinkle-dark: #1d3596;
  --about-lemon: #f8ebc4;
  --about-pink: #f6e4da;
  --about-shadow: 0 1px 2px rgba(22,26,46,.06), 0 8px 16px -6px rgba(22,26,46,.24);
  --about-shadow-small: 0 1px 2px rgba(22,26,46,.06), 0 6px 12px -5px rgba(22,26,46,.24);
}


/* =========================================
   PAGE
========================================= */

.about-page {
  width: min(1060px, calc(100% - 36px));

  margin: 0 auto;

  padding: 52px 0 100px;
}

.active-link {
  background: var(--about-lavender) !important;
}


/* =========================================
   BACKGROUND DOODLES
========================================= */

.about-doodles {
  position: fixed;

  inset: 0;

  z-index: -1;

  pointer-events: none;

  overflow: hidden;

  color: rgba(26, 26, 26, 0.72);
}

.about-doodle {
  position: absolute;

  font-size: 1.55rem;
}

.d1 {
  top: 15%;
  left: 6%;
}

.d2 {
  top: 58%;
  left: 4%;
}

.d3 {
  top: 32%;
  right: 7%;
}

.d4 {
  bottom: 14%;
  right: 7%;
}

.d5 {
  top: 76%;
  right: 3%;

  transform: rotate(12deg);
}


/* =========================================
   HERO
========================================= */

.about-hero {
  max-width: 820px;

  margin: 0 auto 46px;

  text-align: center;
}

.about-eyebrow {
  display: inline-block;

  padding: 7px 13px;

  border: 1.5px solid var(--about-ink);

  border-radius: 999px;

  background: var(--about-white);

  box-shadow: var(--about-shadow-small);

  font-size: 0.72rem;

  font-weight: 800;

  text-transform: uppercase;

  letter-spacing: 0.13em;

  transform: none;
}

.about-hero h1 {
  margin: 20px 0 0;

  font-family: "Fraunces", serif;

  font-size: clamp(3.4rem, 7vw, 5.7rem);

  line-height: 0.95;

  letter-spacing: -0.05em;
}

.about-squiggle {
  width: 165px;

  height: 13px;

  margin: 10px auto 0;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C20 2 40 12 60 6 S100 2 118 7' fill='none' stroke='%237A7ADB' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");

  background-repeat: no-repeat;

  background-size: 100% 100%;
}

.about-tagline {
  max-width: 760px;

  margin: 17px auto 0;

  font-family: "Caveat", cursive;

  font-size: 1.65rem;

  line-height: 1.35;

  color: var(--about-periwinkle-dark);
}


/* =========================================
   INTRO
========================================= */

.about-intro {
  display: grid;

  grid-template-columns: 0.82fr 1.5fr;

  gap: 28px;

  align-items: start;
}

.profile-stack {
  display: flex;

  flex-direction: column;

  gap: 24px;
}

.profile-card {
  position: relative;

  padding: 12px;

  border: 1.5px solid var(--about-ink);

  background: var(--gold-light);

  box-shadow: 0 1px 2px rgba(22,26,46,.06), 0 14px 28px -11px rgba(22,26,46,.24);

  transform: none;
}

.profile-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  color: var(--about-periwinkle-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.profile-card-header span:last-child { font-size: 1rem; line-height: 1; }

.profile-placeholder {
  aspect-ratio: 4 / 5;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 10px;

  border: 1.5px solid rgba(26, 26, 26, 0.55);

  background:
    radial-gradient(circle at 1px 1px, rgba(43,79,216, 0.18) 1px, transparent 1.5px) 0 0 / 22px 22px,
    linear-gradient(135deg, #e6ebfb, #fbf3dc);
}

.profile-initials {
  display: grid;

  width: 86px;

  height: 86px;

  place-items: center;

  border: 1.5px solid var(--about-ink);

  border-radius: 50%;

  background: var(--about-white);

  box-shadow: var(--about-shadow-small);

  font-family: "Fraunces", serif;

  font-size: 2rem;

  font-weight: 700;
}

.profile-placeholder-note {
  font-family: "Caveat", cursive;

  font-size: 1.25rem;

  color: var(--about-periwinkle-dark);
}

.profile-card img {
  width: 100%;

  aspect-ratio: 4 / 5;

  object-fit: cover;

  border: 1.5px solid rgba(26, 26, 26, 0.55);
}

.profile-caption {
  margin: 10px 0 2px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.currently-card {
  padding: 18px;

  border: 1.5px solid var(--about-ink);

  border-radius: 20px;

  background: var(--about-lemon);

  box-shadow: var(--about-shadow-small);

  transform: none;
}

.tiny-label {
  display: inline-block;

  margin-bottom: 8px;

  font-size: 0.68rem;

  font-weight: 800;

  letter-spacing: 0.09em;

  text-transform: uppercase;
}

.currently-card ul {
  margin: 0;

  padding-left: 18px;
}

.currently-card li {
  margin-bottom: 8px;

  font-size: 0.87rem;

  line-height: 1.45;
}

.intro-card {
  position: relative;

  padding: 32px;

  border: 1.5px solid var(--about-ink);

  border-radius: 28px;

  background: var(--about-white);

  box-shadow: var(--about-shadow);
}

.hello-sticker {
  position: absolute;

  top: -17px;

  right: 25px;

  padding: 7px 12px;

  border: 1.5px solid var(--about-ink);

  border-radius: 999px;

  background: var(--about-pink);

  box-shadow: var(--about-shadow-small);

  font-family: "Caveat", cursive;

  font-size: 1.05rem;

  transform: none;
}

.intro-kicker {
  margin: 0 0 8px;

  font-family: "Caveat", cursive;

  font-size: 1.3rem;

  color: var(--about-periwinkle-dark);
}

.intro-card h2 {
  max-width: 620px;

  margin: 0 0 21px;

  font-family: "Fraunces", serif;

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

  line-height: 1.08;
}

.intro-card > p:not(.intro-kicker) {
  margin: 0 0 18px;

  line-height: 1.8;

  color: #3e4357;
}

.favorite-problem {
  margin-top: 26px;

  padding: 16px 18px;

  border: 2px dashed var(--about-periwinkle);

  border-radius: 17px;

  background: var(--about-lavender-soft);
}

.favorite-problem span {
  display: block;

  margin-bottom: 5px;

  font-size: 0.68rem;

  font-weight: 800;

  letter-spacing: 0.09em;

  text-transform: uppercase;

  color: var(--about-periwinkle-dark);
}

.favorite-problem strong {
  font-family: "Caveat", cursive;

  font-size: 1.45rem;

  font-weight: 600;
}


/* =========================================
   SECTION HEADINGS
========================================= */

.section-heading {
  margin-bottom: 24px;
}

.handwritten {
  margin: 0 0 2px;

  font-family: "Caveat", cursive;

  font-size: 1.5rem;

  color: var(--about-periwinkle-dark);
}

.section-heading h2,
.tools-heading h2 {
  margin: 0;

  font-family: "Fraunces", serif;

  font-size: clamp(2.2rem, 4vw, 3.1rem);

  line-height: 1.1;
}


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

.story-section {
  margin-top: 78px;
}

.story-line {
  display: grid;

  grid-template-columns: 1fr auto 1fr auto 1fr;

  gap: 14px;

  align-items: stretch;
}

.story-card {

  padding: 21px;

  border: 1.5px solid var(--about-ink);

  border-radius: 22px;

  box-shadow: var(--about-shadow-small);
}

.story-lav {
  background: var(--about-lavender);

  transform: none;
}

.story-yellow {
  background: var(--about-lemon);

  transform: none;
}

.story-white {
  background: var(--about-white);

  transform: none;
}

.story-number {
  display: grid;

  width: 38px;

  height: 38px;

  place-items: center;

  border: 1.5px solid var(--about-ink);

  border-radius: 50%;

  background: var(--about-white);

  font-family: "Caveat", cursive;

  font-size: 1.1rem;

  font-weight: 700;
}

.story-mini {
  margin: 15px 0 4px;

  font-family: "Caveat", cursive;

  font-size: 1.05rem;

  color: var(--about-periwinkle-dark);
}

.story-card h3 {
  margin: 0 0 10px;

  font-family: "Fraunces", serif;

  font-size: 1.25rem;
}

.story-card p:last-child {
  margin: 0;

  line-height: 1.65;

  color: #3e4357;

  font-size: 0.9rem;
}

.story-arrow {
  align-self: center;
  font-family: "Caveat", cursive;

  font-size: 2rem;

  color: var(--about-periwinkle-dark);
}


/* =========================================
   BELIEFS
========================================= */

.beliefs-section {
  margin-top: 78px;
}

.beliefs-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 20px;
}

.belief-card {

  padding: 23px;

  border: 1.5px solid var(--about-ink);

  border-radius: 23px;

  box-shadow: var(--about-shadow-small);
}

.belief-purple {
  background: var(--about-lavender-soft);

  transform: none;
}

.belief-yellow {
  background: var(--about-lemon);

  transform: none;
}

.belief-pink {
  background: var(--about-pink);

  transform: none;
}

.belief-white {
  background: var(--about-white);
  transform: none;
}

.belief-icon {
  display: grid;

  width: 42px;

  height: 42px;

  place-items: center;

  border: 1.5px solid var(--about-ink);

  border-radius: 50%;

  background: var(--about-white);

  font-family: "Caveat", cursive;

  font-size: 1.3rem;

  font-weight: 700;
}

.belief-card h3 {
  margin: 18px 0 9px;

  font-family: "Fraunces", serif;

  font-size: 1.28rem;

  line-height: 1.2;
}

.belief-card p {
  margin: 0;

  color: #3e4357;

  line-height: 1.68;

  font-size: 0.9rem;
}


/* =========================================
   SKILLS
========================================= */

.skills-section {
  margin-top: 78px;
}

.skills-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;
}

.skill-card {
  padding: 23px;

  border: 1.5px solid var(--about-ink);

  border-radius: 22px;

  background: var(--about-white);

  box-shadow: var(--about-shadow-small);
}

.skill-lav {
  background: var(--about-lavender);
}

.skill-yellow {
  background: var(--about-lemon);
}

.skill-top {
  display: flex;

  align-items: center;

  gap: 10px;

  margin-bottom: 15px;
}

.skill-symbol {
  display: grid;

  width: 38px;

  height: 38px;

  place-items: center;

  border: 1.5px solid var(--about-ink);

  border-radius: 12px;

  background: var(--about-white);

  font-family: "Caveat", cursive;

  font-size: 1.25rem;

  font-weight: 700;
}

.skill-card h3 {
  margin: 0;

  font-family: "Fraunces", serif;

  font-size: 1.4rem;
}

.skill-card ul {
  columns: 1;

  margin: 0;

  padding-left: 18px;
}

.skill-card li {
  margin-bottom: 8px;

  font-size: 0.88rem;

  line-height: 1.45;
}


/* =========================================
   TOOLS
========================================= */

.tools-section {
  margin-top: 78px;
}

.tools-board {
  padding: 28px;

  border: 1.5px solid var(--about-ink);

  border-radius: 27px;

  background: var(--about-white);

  box-shadow: var(--about-shadow);
}

.tools-heading {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  align-items: flex-start;
}

.tools-spark {
  font-size: 2rem;

  color: var(--about-periwinkle-dark);
}

.tool-cloud {
  display: flex;

  flex-wrap: wrap;

  gap: 11px;

  margin-top: 24px;
}

.tool-cloud span {
  padding: 9px 14px;

  border: 1.5px solid var(--about-ink);

  border-radius: 999px;

  background: var(--about-white);

  box-shadow: var(--about-shadow-small);

  font-size: 0.84rem;

  font-weight: 700;

  transition: 0.18s ease;
}

.tool-cloud span:nth-child(4n + 1) {
  background: var(--about-lavender);
}

.tool-cloud span:nth-child(4n + 3) {
  background: var(--about-lemon);
}

.tool-cloud span:hover {
  transform: translateY(-3px);
}


/* =========================================
   PERSONAL NOTE
========================================= */

.personal-note {
  position: relative;

  width: min(690px, 94%);

  margin: 82px auto 0;

  padding: 31px;

  border: 1.5px solid var(--about-ink);

  background: #fffef9;

  box-shadow: var(--about-shadow);

  transform: none;
}

.personal-tape {
  position: absolute;

  top: -14px;

  left: 50%;

  width: 105px;

  height: 28px;

  transform: translateX(-50%);

  background: rgba(255, 246, 187, 0.88);
}

.personal-label {
  margin: 0 0 13px;

  font-family: "Caveat", cursive;

  font-size: 1.7rem;

  color: var(--about-periwinkle-dark);
}

.personal-note > p:not(.personal-label) {
  margin: 0 0 14px;

  line-height: 1.75;

  color: #3e4357;
}

.personal-small {
  display: block;

  margin-top: 20px;

  text-align: right;

  font-family: "Caveat", cursive;

  font-size: 1.12rem;

  color: #777;
}


/* =========================================
   CTA
========================================= */

.about-cta {
  margin-top: 84px;

  text-align: center;
}

.about-cta h2 {
  margin: 4px 0 8px;

  font-family: "Fraunces", serif;

  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.about-cta > p:not(.handwritten) {
  max-width: 570px;

  margin: 0 auto;

  color: #4d5368;

  line-height: 1.65;
}

.about-actions {
  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 11px;

  margin-top: 22px;
}

.about-button {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 11px 18px;

  border: 1.5px solid var(--about-ink);

  border-radius: 999px;

  box-shadow: var(--about-shadow-small);

  font-weight: 800;

  transition: 0.18s ease;
}

.about-button:hover {
  transform: translateY(-2px);
}

.about-button-dark {
  background: var(--about-periwinkle-dark);

  color: white;
}

.about-button-light {
  background: var(--about-white);
}


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

@media (max-width: 900px) {

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

  .profile-stack {
    display: grid;

    grid-template-columns: minmax(240px, 0.8fr) 1fr;

    align-items: start;
  }

  .profile-card {
    max-width: 360px;
  }

  .story-line {
    grid-template-columns: 1fr;
  }

  .story-arrow {
    transform: rotate(90deg);

    text-align: center;
  }

  .beliefs-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .belief-card {
    min-height: 0;
  }

}


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

@media (max-width: 620px) {

  .about-page {
    width: min(100% - 24px, 1060px);

    padding-top: 34px;
  }

  .profile-stack {
    grid-template-columns: 1fr;
  }

  .profile-card {
    width: min(88%, 340px);

    margin: 0 auto;
  }

  .intro-card {
    padding: 23px;
  }

  .hello-sticker {
    position: static;

    display: inline-block;

    margin-bottom: 18px;
  }

  .about-tagline {
    font-size: 1.4rem;
  }

  .tools-board,
  .personal-note {
    padding: 22px;
  }

}
