/* About A5–A9 (shared): your name in DM Serif Display, the Projects-page title, compact school
   cards with same-size logos (newest first), and the pup, who only peeks out when you hover
   your photo. */
.page-about { --lead: #4E6B48; --font-name: "DM Serif Display", Georgia, serif; }

/* The title, the same as the Projects page */
.ab-title-wrap { position: relative; isolation: isolate; margin: 0 0 clamp(56px, 8vw, 96px); text-align: center; }
.ab .ab-title-wrap .kicker { margin: 0 0 4px; font-size: 12.5px; line-height: 1.65; color: #A6566B; }
.ab-title { margin: 0; font-family: var(--font-script); font-weight: 400; font-size: clamp(76px, 10vw, 120px); line-height: 0.9; letter-spacing: 0; color: var(--ink); }
.ab-title-wrap .t-orchid { position: absolute; top: 50%; left: 50%; z-index: -1; width: 300px; translate: -50% -52%; opacity: 0.6; pointer-events: none; }

/* Your name */
.ab-myname { margin: 0 0 12px; font-family: var(--font-name); font-weight: 400; font-size: clamp(42px, 5vw, 60px); line-height: 1; letter-spacing: -0.01em; color: var(--ink); }

/* Schools: small cards, every logo in the same-size box */
.ab-schools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.ab-school { display: grid; align-content: start; gap: 2px; padding: 18px 20px 20px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--box-line); }
.ab-school-logo { display: flex; align-items: center; height: 40px; margin-bottom: 14px; }
.ab-school-logo .ab-logo { height: 30px; max-width: 100%; }
.ab-school h3 { font-size: 16px !important; font-weight: 600; line-height: 1.35; color: var(--ink); }
.ab-school .ab-where { margin: 0; font-size: 14.5px !important; }
.ab-school .ab-note { margin-top: 4px !important; font-size: 13px !important; }
.ab-school .ab-date { margin-top: 10px !important; font-size: 13px !important; font-weight: 600; color: var(--kicker) !important; }
.ab-school .ab-date span { font-weight: 400; color: var(--soft); }
@media (max-width: 760px) { .ab-schools { grid-template-columns: 1fr; } }

/* The pup hides below the photo's bottom edge and peeks up when you hover the photo */
.ab-peek { position: relative; overflow: hidden; margin: 0; border-radius: 24px; }
.ab-peek .ab-pup { position: absolute; right: 22px; bottom: 0; left: auto; top: auto; width: 76px; translate: 0 105%; transition: translate 0.5s var(--ease); pointer-events: none; }
.ab-peek:hover .ab-pup { translate: 0 22%; }
.ab-peek .ab-pup svg { display: block; width: 100%; height: auto; }
.ab-peek .ab-pup .bp .art { stroke-width: 9; }
.ab-peek .ab-pup .hand.r { transform-box: fill-box; transform-origin: 30% 6%; animation: ab-wave 1.8s ease-in-out infinite; }
@keyframes ab-wave { 0%, 60%, 100% { rotate: 0deg; } 15% { rotate: -38deg; } 30% { rotate: -14deg; } 45% { rotate: -38deg; } }
@media (prefers-reduced-motion: reduce) { .ab-peek .ab-pup { transition: none; } .ab-peek .ab-pup .hand.r { animation: none; } }

/* A5: the Delaware and ICS logos were reading smaller than Purdue's, so they're taller (30 → 42px) */
.ab-school-logo { height: 46px; }
.ab-school-logo img[src*="logo-delaware"], .ab-school-logo img[src*="logo-ics"] { height: 42px; }

/* A5: the title and the intro are one block now. "About me" (the Projects-page kicker) sits
   above your name, your name is in the Italianno script, and the orchid is behind them */
.ab-intro-wrap { position: relative; isolation: isolate; }
.ab-intro-wrap .t-orchid { position: absolute; top: 46%; left: 34%; z-index: -1; width: 340px; translate: -50% -50%; opacity: 0.6; pointer-events: none; }
.ab .ab-intro-wrap .kicker { margin: 0 0 2px; font-size: 12.5px; line-height: 1.65; color: #A6566B; }
.ab-intro-wrap .ab-myname { margin: 0 0 14px; font-family: var(--font-script); font-size: clamp(76px, 9vw, 112px); line-height: 0.9; letter-spacing: 0; }
.page-about .app { padding-top: clamp(110px, 13vw, 150px); }
@media (max-width: 860px) { .ab-intro-wrap .t-orchid { left: 50%; width: 280px; } }
/* …the orchid behind your name more see-through (0.6 → 0.3) */
.ab-intro-wrap .t-orchid { opacity: 0.3; }

/* A5: Work Experience a little smaller: tighter rows, smaller text and a smaller photo frame */
.ab-work { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 40px; }
.ab-job { padding: 16px 18px 16px 22px; gap: 4px 16px; }
.ab-job + .ab-job { margin-top: 2px; }
.ab-job::before { top: 20px; height: 18px; }
.ab-job.is-on::before { height: 30px; }
.ab .ab-jobs h3 { font-size: 16.5px; }
.ab-job .ab-where { font-size: 14.5px; }
.ab-job .ab-when { font-size: 13px !important; }
.ab-job .ab-story { margin-top: 4px; font-size: 14px !important; line-height: 1.55 !important; }
.ab-preview { top: 100px; }
.ab-preview figcaption { font-size: 12.5px; }
/* …roomier again: bigger job titles and more space in and between the rows (text sizes kept) */
.ab .ab-jobs h3 { font-size: 18.5px; line-height: 1.3; }
.ab-job { padding: 22px 24px 22px 26px; gap: 6px 20px; }
.ab-job + .ab-job { margin-top: 10px; }
.ab-job::before { top: 26px; height: 22px; }
.ab-job.is-on::before { height: 36px; }
.ab-job .ab-where { margin-top: 4px; }
.ab-job .ab-story { margin-top: 10px; line-height: 1.65 !important; }

/* School drawings: hidden until you hover a card, then a very faint sketch of that school fades
   up from the bottom of the card (the paper colour is blended away so only the pen lines show) */
.ab-school { position: relative; overflow: hidden; isolation: isolate; }
.ab-school::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--school-pic) center / cover no-repeat; mix-blend-mode: multiply; opacity: 0; -webkit-mask-image: linear-gradient(to top, #000 0%, #000 25%, transparent 85%); mask-image: linear-gradient(to top, #000 0%, #000 25%, transparent 85%); transition: opacity 0.6s var(--ease); pointer-events: none; }
.ab-school:hover::before { opacity: 0.14; }
.ab-school.is-purdue { --school-pic: url("Assets/AboutMe/education/purdue-web.jpg"); }
.ab-school.is-purdue::before { background-position: 42% 0; -webkit-mask-image: linear-gradient(to top, #000 0%, #000 80%, transparent 100%); mask-image: linear-gradient(to top, #000 0%, #000 80%, transparent 100%); }
.ab-school.is-ud { --school-pic: url("Assets/AboutMe/education/ud-web.jpg"); }
.ab-school.is-ud::before { background-position: 30% 54%; }
.ab-school.is-ics { --school-pic: url("Assets/AboutMe/education/ics-web.jpg"); }
.ab-school.is-ics::before { background-position: 50% 68%; }
@media (prefers-reduced-motion: reduce) { .ab-school::before { transition: none; } }

/* Click a school card: the photo each sketch is based on fades in over the card, then fades
   back to the school's info after 3 seconds (the timing is in about.js) */
.ab-school { cursor: pointer; }
.ab-school:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ab-school-photo { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.7s var(--ease); pointer-events: none; }
.ab-school.is-showing .ab-school-photo { opacity: 1; }
.ab-school.is-purdue .ab-school-photo { object-position: 42% 0; }
.ab-school.is-ud .ab-school-photo { object-position: 30% 54%; }
.ab-school.is-ics .ab-school-photo { object-position: 50% 68%; }
@media (prefers-reduced-motion: reduce) { .ab-school-photo { transition: none; } }

/* The photos are cropped to the exact same spot as each sketch (same position, same size) */

/* Main photo: a still pebble shape with a soft peach glow (picked from about-develop/a5-photo-frames, P4 without the movement) */
.ab-hero-photo.ab-peek { overflow: hidden; border-radius: 46% 54% 42% 58% / 38% 40% 60% 62%; box-shadow: none; }
.ab-hero-photo img { border-radius: 0; box-shadow: none; }
.ab-hero-photo.ab-peek .ab-pup { right: calc(50% - 38px); }

/* …glow swapped for a thin green line pebble around the photo (P3, still) */
.ab-photo-line { position: relative; isolation: isolate; }
.ab-photo-line::before { content: ""; position: absolute; inset: -14px; z-index: -1; border: 1.5px solid #3F5B38; border-radius: 40% 60% 58% 42% / 52% 38% 62% 48%; opacity: 0.5; pointer-events: none; }
@media (max-width: 860px) { .ab-photo-line { max-width: 400px; } }
