html,
body {
  width: 100%;
  max-width: 100%;
  height: 100%;
  overflow-x: hidden;
}

:root {
  --bg: #FFFFFF;
  --text: #000000;
  --purple: #87498B;
  --muted: #4a4a4a;
  --space-2: clamp(10px, 1.2vw, 18px);
  --page-pad-top: clamp(12px, 2vw, 24px);
  --top-nav-slot: calc(
    var(--page-pad-top) + clamp(52px, 8vw, 100px) + clamp(8px, 1.2vw, 14px) + 43px
  );
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  overflow: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: 38px;
  background-color: var(--purple);
  z-index: 50;
  pointer-events: none;
}

body::before {
  left: 0;
}

body::after {
  right: 0;
}

.about-page {
  width: 100%;
  max-width: 100%;
  height: 100dvh;
  margin: 0 auto;
  padding: 0 calc(38px + clamp(16px, 3vw, 40px)) clamp(20px, 3vw, 44px);
  padding-top: var(--top-nav-slot);
  overflow-x: clip;
  overflow-y: auto;
}

.about-hero,
.resume-section {
  overflow-x: clip;
}

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  /* Same horizontal inset as home (.portfolio .top-nav); stripes stay in background layers */
  padding: var(--page-pad-top) clamp(16px, 3vw, 40px) clamp(8px, 1.2vw, 14px);
  box-sizing: border-box;
  /* Match body side stripes so purple runs through the fixed header */
  background:
    linear-gradient(var(--purple), var(--purple)) left / 38px 100% no-repeat,
    linear-gradient(var(--purple), var(--purple)) right / 38px 100% no-repeat,
    var(--bg);
}

.dot-logo {
  width: clamp(52px, 8vw, 100px);
  height: clamp(52px, 8vw, 100px);
  border-radius: 999px;
}

.dot-logo img {
  position: relative;
  left: 55px;
  z-index: 10;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.menu {
  display: flex;
  gap: var(--space-2);
}

.menu-right {
  margin-left: auto;
  padding-right: 88px;
  gap: 24px;
}

.menu-right a {
  font-size: clamp(14px, 1.5vw, 28px);
}

.menu a {
  font-family: "Inter", sans-serif;
  text-decoration: none;
  color: #000000;
  font-size: clamp(10px, 1vw, 16px);
  letter-spacing: 0.12em;
}

.menu a.active {
  color: var(--purple);
  font-weight: 700;
}

.intro {
  position: relative;
  z-index: 10;
  left: clamp(-10px, 6vw, 50px);
  margin-top: 10px;
  font-family: "Architects Daughter", cursive;
  font-size: 23px;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: calc(var(--space-2) + 150px);
}

.about-hero { width: min(100%, 1100px); margin: 0 auto 24px; }

.vinyl-stage {
  position: relative;
  width: min(100%, 900px);
  margin: 0 auto;
  height: clamp(290px, 45vw, 520px);
  --sleeve-x: 0px;
  --sleeve-y: 0px;
  --sleeve-scale: 1;
  --disc-x: 0px;
  --disc-y: 0px;
  --disc-scale: 1;
  --disc-rotate: 0deg;
}

.sleeve {
  position: absolute;
  left: 52%;
  top: 27%;
  width: min(74vw, 600px);
  transform: translate(-50%, -50%) translate(var(--sleeve-x), var(--sleeve-y)) scale(var(--sleeve-scale));
  z-index: 2;
}

.disc {
  position: absolute;
  left: 62%;
  top: 31%;
  width: min(54vw, 520px);
  transform: translate(-50%, -50%) translate(var(--disc-x), var(--disc-y)) scale(var(--disc-scale)) rotate(var(--disc-rotate));
  z-index: 1;
}

.hello {
  text-align: center;
  margin-top: -40px;
  font-size: 23px;
  letter-spacing: 0.04em;
  font-family: "Alegreya Sans SC", sans-serif;
}

.about-body {
  position: relative;
  z-index: 10;
  top: 40px;
  width: min(100%, 980px);
  margin: 20px auto 0;
  font-size: 20px;
  line-height: 1.45;
}
.about-body .p1 { margin-bottom: 30px; }
.about-body .p2 { margin-bottom: 30px; }
.about-body .p3 { margin-bottom: 100px; }
.about-body .p4 { margin-bottom: 15px; }
.about-body .p5 { margin-bottom: 15px; }
.about-body .p6 { margin-bottom: 20px; }


.about-body .p4 strong {
  font-weight: 700;
}

.about-body .p5 strong {
  font-weight: 700;
}

.about-body .p6 strong {
  font-weight: 700;
}

.resume-section {
  display: flex;
  justify-content: center;
  margin-top: -60px;
  padding-bottom: clamp(126px, 17vw, 195px);
}

.resume-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(220px, 30vw, 340px);
  aspect-ratio: 1 / 1;
  text-decoration: none;
  isolation: isolate;
  transform: translateY(50%) scale(1.15);
  overflow: visible;
  transition: transform 0.35s ease;
}

.resume-link:hover,
.resume-link:focus-visible {
  transform: translateY(50%) scale(1.22);
}

.resume-link:active {
  transform: translateY(50%) scale(1.18);
}

.resume-arc {
  position: absolute;
  bottom: calc(100% - 465px);
  left: 50%;
  width: 245%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 20;
  overflow: visible;
}

.resume-arc text {
  font-family: "architects daughter", cursive;
  font-size: clamp(16px, 2.7vw, 30px);
  letter-spacing: 0.2em;
  fill: #87498B;
  transition: filter 0.35s ease;
}

.resume-disc {
  width: 600%;
  height: auto;
  animation: spin-disc 6s linear infinite;
  transform-origin: 50% 50%;
  z-index: 1;
  transition: filter 0.35s ease;
}

.resume-link:hover .resume-disc,
.resume-link:focus-visible .resume-disc {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 24px rgba(255, 255, 255, 0.65))
    drop-shadow(0 0 44px rgba(255, 255, 255, 0.4));
}

.resume-link:active .resume-disc {
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 1))
    drop-shadow(0 0 32px rgba(255, 255, 255, 0.75))
    drop-shadow(0 0 52px rgba(255, 255, 255, 0.45));
}

.resume-link:hover .resume-arc text,
.resume-link:focus-visible .resume-arc text,
.resume-link:active .resume-arc text {
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9))
    drop-shadow(0 0 14px rgba(255, 255, 255, 0.55));
}

@keyframes spin-disc {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}